Join - function of language VBScript

Returns a string created by joining a number of substrings contained in the array.
In the PROMOTIC system it is better to use the Pm.StringJoin method.
String Join(Array list, [String delimiter])
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 not set, then the space character (" ") is used. If delimiter is a empty string, then all items in the list are concatenated with no delimiters.
VBScriptSelect and copy to clipboard

Dim sString, arr( 3)
arr(0) = "Mr."
arr(1) = "John "
arr(2) = "Doe "
arr(3) = "III"
sString = Join( arr)  'sString contains "Mr. John Doe III"
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice