Split Function in C#

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); } } }

output
I
love
my
india
Next Recommended Reading Return String Function in C#.Net