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:
&
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
2 matches
Mail list logo