arrays.concat

Supported in:
arrays.concat(string_array, string_array)

Description

Returns a new string array by copying elements from original string arrays.

Param data types

ARRAY_STRINGS, ARRAY_STRINGS

Return type

ARRAY_STRINGS

Code samples

Example 1

The following example concatenates two different string arrays.

arrays.concat(["test1", "test2"], ["test3"]) = ["test1", "test2", "test3"]
Example 2

The following example concatenates arrays with empty string.

arrays.concat([""], [""]) = ["", ""]
Example 3

The following example concatenates empty arrays.

arrays.concat([], []) = []