Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,


I am sending a mail to multiple users in asp.net. I want to trim comma separate "," and assign email id to another text box.

(I have a form in that form three fields are there Name, Email Id, Phone No)

Ex: kk@gmail.com, rr@gmal.com

O/P like : Email ID : kk@gmail.com

And assign characters upto before "@" to another text box. Means i need to assign "kk" name.

Ex: To : kk@gmail.com, rr@gmal.com

o/p: Name : kk



Thanks

Murali.
Posted

1 solution

String can be parsed using the String.Split method: Split Strings[^]
C# Split[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900