// To split a string use 'Split()', you can choose where to split string text = "Hello World!" string[] textSplit = text.Split(" "); // Output: // ["Hello", "World!"]
listStrLineElements = line.Split(',').ToList();
string text = "Hello World!" string[] textSplit = text.Split();