Hi Rakesh.

Since String#split() receives a regular expression as parameter and
returns a String array you should try:
String[] result = playlistname.split("\\.")

Phil


On Sep 17, 2:38 pm, patelpower <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
>  i am traying to split the string as per below code but its not
> working so anyone can help me out
>
> code:
>                playlistname = 1.dat
>         ResultString = playlistname.split(".");
> but in the resultstring nothing is coming so anyone can tell me what
> should be the problem
>
> Thanks,
> rakesh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to