This blog is explain some basic functionality of split function.
using System; class Program { static void Main() { string s = "I love my india";//split string on space and storing in words string[] words = s.Split(' '); foreach (string word in words) { Console.WriteLine(word); } } }outputIlovemyindia