c sharp split string

C#
// 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();
Source

Also in C#: