reference:evaluator:implode

Implode(
     array:array,
     [string:separator],
     [string:flags]
)
string

Arguments

array

Input array of string.

separator

Optional. Separator to join input strings with.

flags

Optional. Optional flags.

Return value

Joined string.

Description

Concatenates the members of an array to a single string, joining them with the specified separator.

If separator isn't specified it will join with spaces by default.

The optional flags are:

qQuote individual strings if needed (i.e. if they contain a space).
QAlways quote individual strings.

Example:

arr = ArrayCreate("The", "quick", "brown", "fox");
Output(Implode(arr));
--> "The quick brown fox"

See also: Explode