Split
The Split function takes a string and divides it up into an
array of sub-strings. By default it splits the words based on a blank
space but you may supply the optional second argument which specifies
a different character to split up the string with.
Split is a very powerful function which you should make use of
when doing processing of complex data such as with a large web form.
Dim sEmail ' list of e-mails separated by semicolon
Dim aEmail ' array of e-mail addresses
sEmail = "joe@domain.com; mark@domain.com; ken@domain.com" aEmail = Split(sEmail, ";") For I = 0 To UBound(aEmail) Response.Write "Found E-mail: <B>" & aEmail(I) & "</B><BR>" Next
|
 |

|