Split Function can be used to split strings on spaces
string s = "Splitting a string"; string[] words = s.Split(' '); foreach (string word in words) { Console.WriteLine(word); }
Output : Splitting a string
Name (required)
Mail (will not be published) (required)
Website
Last articles