[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

radhakrishnan

2/6/2004 1:33:00 PM

Hello,

I have a string 1,2,3,4 and i want to spilit the string into 1
2 3 4
similar thing can be done java using stringtoken

is there any similar way in asp.net

thanks

radha


1 Answer

msnews.microsoft.com

2/6/2004 3:13:00 PM

0

string a = "1,2,3,4";
string e = ","
string b[];

char[] c = e.ToCharArray();

b = a.split(c)

then b[0] = "1" and b[1] = "2" etc

"radhakrishnan" <radhakrishnan.b@in.bosch.com> wrote in message
news:c0051t$9va$1@ns1.fe.internet.bosch.com...
> Hello,
>
> I have a string 1,2,3,4 and i want to spilit the string into
1
> 2 3 4
> similar thing can be done java using stringtoken
>
> is there any similar way in asp.net
>
> thanks
>
> radha
>
>