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
Hello world!

Overload #2: Concat(strings, separator)

Declaration
function Concat(
strings as List of String, separator as String
) as String

Parameters

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
A,B,C