VBScript Join Function
Complete VBScript Reference Manual
The Join function returns a string composed of several substrings from an array.
Syntax
Join(list[,delimiter])
| Parameters | Description |
|---|---|
| list | Required. A one-dimensional array containing the substrings to be joined. |
| delimiter | Optional. The character used to separate the substrings in the returned string. The default is the space character. |
Example
Example
Separating the items in an array, with and without using the delimeter parameter:
The example above produces the following output:
Sun Mon Tue Wed Thu Fri Sat
Sun,Mon,Tue,Wed,Thu,Fri,Sat
Sun ### Mon ### Tue ### Wed ### Thu ### Fri ### Sat
Try it »
Complete VBScript Reference Manual