This blogs provides .Net tips and practical solutions
Wednesday, 21 December 2011
How do I split a string by a multi-character delimiter in C# ?
string myString ="This is a new sentence.";string[] _res =myString.Split(newstring[]{"is"},StringSplitOptions.None);for(int i=0; i<_res.length; i++)Console.Write(_res[i]);
No comments:
Post a Comment