Where the method should extract all words from input string without spaces and return it as an array. c# code example
Example: c sharp split string
// To split a string use 'Split()', you can choose where to split
string text = "Hello World!"
string[] textSplit = text.Split(" ");
// Output:
// ["Hello", "World!"]