strcat_delim()

Learn how to use the strcat_delim() function to concatenate between 2 and 64 arguments using a specified delimiter as the first argument.

Concatenates between 2 and 64 arguments, using a specified delimiter as the first argument.

Syntax

strcat_delim(delimiter, argument1, argument2[ , argumentN])

Parameters

NameTypeRequiredDescription
delimiterstring✔️The string to be used as separator in the concatenation.
argument1argumentNscalar✔️The expressions to concatenate.

Returns

The arguments concatenated to a single string with delimiter.

Example

print st = strcat_delim('-', 1, '2', 'A', 1s)

Output

st
1-2-A-00:00:01