You're almost there. `String.Split` takes an array of characters for the separators. Like so:
string[] names = fullName.Split(new char[] {' '});
That should do it.
↧