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#split%28java.lang.String%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sat, Apr 14, 2012 at 2:49 PM, Soyer <mblack...@gmail.com> 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 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

-- 
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

Reply via email to