Saturday, April 14, 2012

[android-developers] Hello Everyone---a Quick question please

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate