-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: mrlaltvm
Message 4 in Discussion
Hai Deepa
Try this code......
string Str = "10 25 14 35";
string [] NewStr = Str.Split( new
Char[] {' '} );
for(int I=0;I<NewStr.Length;I++)
{
Console.WriteLine ( NewStr[I]
);
}
Thanks and Regards
Lal M.R
----- Original Message -----
From:
Deepas_11
To: MumbaiUserGroup
Sent: Wednesday, January 21, 2004 10:15
PM
Subject: Split of string in C#
New Message on MumbaiUserGroup
Split of
string in C#
Reply
Reply to Sender Recommend
Message 1 in
Discussion
From: Deepas_11
Hi All,
I have a string in
the following format:
"10
25
14
35
".
I
need to split this string using the separator "
".
The
problem here is that the split property for a string in C#
requires a char as the separator parameter.
Does anybody know
of a solution to split the string using "
" as the
separator??
kindly help..
thanks in
advance.
deepa
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]