concat

This function is used to concatenate arrays or strings.

Syntax

If multiple arrays are used as the input, all elements in the arrays are connected to generate a new array.

concat(array<T> <a>, array<T> <b>[,...])

If multiple strings are used as the input, the strings are connected to generate a new string.

concat(string <str1>, string <str2>[,...])

Parameters

Return Values

The return value is of the ARRAY or STRING type.

  • If the return value is of the ARRAY type and any input array is NULL, NULL is returned.
  • If the return value is of the STRING type and there is no parameter or any parameter is NULL, NULL is returned.

Example Code