what is "st" and "sb" ?? Thanks, AJ
On Oct 10, 11:55 am, ragavendran s <sraghav.ra...@gmail.com> wrote: > problem in StringTokenizer > > String str="one.1.two.2.three.3" > > Stringtokenizer tok=new Stringtokenizer(str); > while(st.hasmoreTokens()) > { > sb.append(st.nextToken); > > } > > Sustem.out.println(sb.toString()); > > output: > > one > 1 > two > 2 > three > 3 > > but i need output like this: > one > two > three > > i want to cut the values 1,2,3 > > Thanks in Advance > Raghav.S --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---