Hi rakesh.
java.lang.String#split() takes a regular expression as parameter.
This should do...
---*snip*---
String playlistname = "1.dat";
String[] result = playlistname.split("\\.");
---*snip*---
/pmu
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 [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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---