Sorry Here is my Revised Code....
problem in StringTokenizer String str="one.1.two.2.three.3" StringBuffer sb; Stringtokenizer tok=new Stringtokenizer(str); while(tok.hasmoreTokens()) { sb.append(tok.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 -~----------~----~----~----~------~----~------~--~---