Split

This function parses a string into substrings based on a specified delimiter. The result is an array of strings.

Syntax

Split(aStringExpression, delimiterStringExpression)

Example

The following code example results in the subsequent four substrings.

Names = Split("Bob;Fred;Joe;", ";") 

Names(0)="Bob"
Names(1)="Fred"
Names(2)="Joe"
Names(3)=""