Examples for Split Function 

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


Author: Rashmi on September 19, 2011
Category: Visual Studio 2010
Tags: ,
Google Webdriver Forum -The Online Community for Google Webdriver and Selenium RC Users and Professionals

Leave a Reply

Last articles