Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Join - function of language VBScript

Description:
Returns a string created by joining a number of substrings contained in an array.

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.StringJoin.

Syntax:
Join(list As Array, [delimiter As String]) As String
Calling:
s = Join(list[, delimiter])
Parameters:
list(Array) 1-dimensional array containing substrings to be joined
delimiter[optional] (String) String character used to separate the substrings in the returned string. If omitted, the space character (" ") is used. If delimiter is a empty string, all items in the list are concatenated with no delimiters.
Example:
Dim sString, aArray(4)
aArray(0) = "Mr."
aArray(1) = "John "
aArray(2) = "Doe "
aArray(3) = "III"
sString = Join(aArray) 'sString contains "Mr. John Doe III"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice