Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Multiple Email Addresses

Reply
Thread Tools

Multiple Email Addresses

 
 
TCB
Guest
Posts: n/a
 
      03-21-2006
How can I separate multiple email addresses entered in a single textbox, the
email addresses are separated by (,) or (

Thanks



 
Reply With Quote
 
 
 
 
sloan
Guest
Posts: n/a
 
      03-21-2006

Look at the string.Split command.

from the msdn example:

public static void Main() {

string delimStr = " ,.:";
char [] delimiter = delimStr.ToCharArray();
string words = "one two,three:four.";
string [] split = null;

Console.WriteLine("The delimiters are -{0}-", delimStr);
for (int x = 1; x <= 5; x++) {
split = words.Split(delimiter, x);
Console.WriteLine("\ncount = {0,2} ..............", x);
foreach (string s in split) {
Console.WriteLine("-{0}-", s);
}
}
}



"TCB" <> wrote in message
news:%231dss%...
> How can I separate multiple email addresses entered in a single textbox,

the
> email addresses are separated by (,) or (
>
> Thanks
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to implement a firewall for Windows platform that blocks based on Mac addresses instead of IP addresses cagdas.gerede@gmail.com C Programming 1 12-07-2006 04:30 AM
Physical Addresses VS. Logical Addresses namespace1 C++ 3 11-29-2006 03:07 PM
238 Million email addresses download online your email list welcome2044@yahoo.com Computer Information 4 11-01-2004 11:59 PM
Bulk Email online download 238 million email addresses Memo Computer Support 0 09-28-2004 08:33 AM
238 Million email addresses download online your email list Memo Computer Support 0 09-19-2004 02:36 PM



Advertisments