yes i know its a very beginner question, i even dint expect to be the
problem with my code, however i tried the other way "String[] t1 =
str.split(" ");" and for some reason it's still giving me the same
output.On Apr 15, 2:22 am, Justin Anderson <[email protected]> wrote: > This isn't an android question... This is more of a really beginner java > question. > > That being said, what are you doing to print out the > strings?http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#sp... > > Thanks, > Justin Anderson > MagouyaWare Developerhttp://sites.google.com/site/magouyaware > > > > > > > > On Sat, Apr 14, 2012 at 2:49 PM, Soyer <[email protected]> wrote: > > Hello everybody, i am trying to split a line to a set of strings, and > > i am using the following bunch of code: > > > str = hello welcome to your application > > text= X, A > > > String t1[]=str.split(" "); > > String t2[]=text.split(" "); > > > the problem is that the strings (the original ones) are printed > > correctly but once it's splatted, it gets printed something like: > > > 04-14 21:29:56.985: W/System.err(3427): > > ===================132[Ljava.lang.String;@4462ac88 > > > before splitting method was: 04-14 21:29:56.985: W/System.err(3427): > > ===================133A, X > > > Please any help will be very appreciated. > > > cheers. > > > -- > > 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

