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(
arr(0) = "Mr."
arr(1) = "John "
arr(2) = "Doe "
arr(3) = "III"
sString = Join(arr)
' sString contains "Mr. John Doe III"