Let us suppose your string contains comma as a separator eg. "123,34,534,678,33,5556,343"
string s= "123,34,534,678,33,5556,343"
string[] sbstring= s.Split(',');
foreach (string i in sbstring)
{
Console.WriteLine(i);
}
Thursday, August 20, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment