Knowledge Base

Snippets

05

string emailAddress = "email1@domain.com;address2@another.com;myaccount@somewhere.com";

string[] valuePair = emailAddress.Split(new char[] { ';' });

for (int i = 0; i <= valuePair.Length - 1; i++)

{

Response.Write(valuePair[i].ToString() + "<br>");

}

 

Posted in: C Sharp - C#

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.