Look at the string.Split command.
from the msdn example:
public static void Main() {
string delimStr = " ,.:";
char [] delimiter = delimStr.ToChar Array();
string words = "one two,three:four. ";
string [] split = null;
Console.WriteLi ne("The delimiters are -{0}-", delimStr);
for (int x = 1; x <= 5; x++) {
split = words.Split(del imiter, x);
Console.WriteLi ne("\ncount = {0,2} .............." , x);
foreach (string s in split) {
Console.WriteLi ne("-{0}-", s);
}
}
}
"TCB" <tc******@hotma il.com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
How can I separate multiple email addresses entered in a single textbox,
the email addresses are separated by (,) or (;)
Thanks