Showing posts with label Split string using javascript. Show all posts
Showing posts with label Split string using javascript. Show all posts

Saturday, 19 July 2014

Split string using javascript


string strNtfList = "FQN1;FQN2;FQN13";
string strCCMembers = string.Empty;
string[] arrNtfList = strNtfList.Split(';');
string news = string.Empty;
foreach (string strNot in arrNtfList)
{
news += ";" + strNot + "@" + "abc.in";
}
Response.Write(news);
string k = news.Remove(0, 1);
Response.Write("
");
Response.Write(k);