Concat Procedure
Combines (or "concatenates") multiple strings into one, with an optional separator between them.
Overload #1: Concat(strings)
Declaration
function Concat(strings as List of String) as String
Parameters
Return value
String — A string created by combining the input
strings.
Example
Code
dim x = ["Hello ", "world", "!"]
print Concat(x)
Output
Overload #2: Concat(strings, separator)
Declaration
function Concat(
strings as List of String, separator as String
) as String
Parameters
- strings as List of String — The strings to concatenate together.
- separator as String — The string to insert between each pair of input strings.
Return value
String — A string created by combining the input
strings and inserting
separator between each pair of strings.
Example
Code
dim x = ["A", "B", "C"]
print Concat(x, ",")
Output