split the input using either a comaor space c# code example Example: parse strings into words C# string text = "Hello World!" string[] textSplit = text.Split();