Thanks,
Now Its working Fine
On Sep 17, 8:16 pm, "Chris Chiappone" <[EMAIL PROTECTED]> wrote:
> you need to escape a dot. playlistname.split("//.")
>
>
>
>
>
> On Wed, Sep 17, 2008 at 6:38 AM, patelpower <[EMAIL PROTECTED]> wrote:
>
> > Hello everyone,
>
> > i am traying to split the string as
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 trayin
you need to escape a dot. playlistname.split("//.")
On Wed, Sep 17, 2008 at 6:38 AM, 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
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
4 matches
Mail list logo