To array:
String teste =
"[[\"Title0\",\"Body0\"],[\"Title1\",\"Body1\"],[\"Title2\",\"Body2\"],[\"Title3\",\"Body3\"],[\"Title4\",\"Body4\"]]";
teste=teste.replace("[", "");
teste=teste.replace("]", "");
teste.split(",") <- array :P2012/10/11 Rafael Maas <[email protected]> > simple way: > String teste = > "[[\"Title0\",\"Body0\"],[\"Title1\",\"Body1\"],[\"Title2\",\"Body2\"],[\"Title3\",\"Body3\"],[\"Title4\",\"Body4\"]]"; > teste=teste.replace("[", ""); > teste=teste.replace("]", ""); > StringTokenizer separador = new StringTokenizer(teste, ","); > while(separador.hasMoreTokens()){ > System.out.println(separador.nextToken()); > } > > is this the best way? > NO, but works lol. > > > 2012/10/11 Lew <[email protected]> > >> solnichko wrote: >>> >>> I was just wondering if you managed to solve this issue? >>> >>> I'd appreciate your help. >>> >> >> Did you try TreKing's advice? >> >> There are a number of Java Usenet groups available, such as >> comp.lang.java.help, >> that might have people willing to give more detailed answers to your >> unstated question. >> >> -- >> Lew >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

