Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Join Function

VBScript Join Function


VBScript reference manual 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 »


VBScript reference manual Complete VBScript Reference Manual