Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

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

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"The man who has no imagination has no wings." - Muhammad Ali

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.