Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to split a string

Status
Not open for further replies.

nabbs

Programmer
Feb 21, 2001
18
GB
hi

i am trying to split an email address into a string.

Basically, what i wanna do is take the first part of the email just before the "@" symbol and insert it into the database.

How can I do this using asp??

thanx in advance.

nabbs
 
string = "frank@hotmail.com"
MyArray = Split(frank, "@")
results:
MyArray(0) = "frank"
MyArray(1) = "hotmail.com"
 
EXCELLENT!!!

Thanx so much....it works!!

nabbs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top