C# string split on comma with text containing comma code example Example: c# separate string by comma string[] words = phrase.Split(' ');