aStrings | (Array) 1-dimensional array (PmArray object for JavaScript or Array data type for VBScript) containing substrings to be merged.
The values of different data types are converted into a text string. |
---|---|
sDelimiter | (String) Separator, i.e. character used to identify substring boundaries in the resulting string.
Examples of separators: "" = empty string - i.e. substrings will not be separated
" " = space
"," = comma
";" = semicolon |
var s1 = "2,4,6,8,10";
var aStr = Pm.StringSplit(s1, ",");
var s2 = Pm.StringJoin(aStr, ";");
// s2 contains "2;4;6;8;10"