C# Split String Is Not Working in Developers' Corner Posted September 25, 2012 Check this one string str = null; string[] strArr = null; int count = 0; str = "CSharp split test"; char[] splitchar = { ' ' }; strArr = str.Split(splitchar); for (count = 0; count < = strArr.Length - 1; count++) { MessageBox.Show(strArr[count]); } http://csharp.net-informations.com/string/csharp-string-split.htm maaki.
C# Split String Is Not Working
in Developers' Corner
Posted
Check this one
string str = null;
string[] strArr = null;
int count = 0;
str = "CSharp split test";
char[] splitchar = { ' ' };
strArr = str.Split(splitchar);
for (count = 0; count < = strArr.Length - 1; count++)
{
MessageBox.Show(strArr[count]);
}
http://csharp.net-informations.com/string/csharp-string-split.htm
maaki.