Quantcast
Channel: Answers for "The "using" keyword, with the Split method C#"
Viewing all articles
Browse latest Browse all 6

Answer by shaderop

$
0
0
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.

Viewing all articles
Browse latest Browse all 6

Trending Articles