$arrayConcat
$arrayConcat
will concat multiple arrays.
Usage
$arrayConcat[separator;...arrays]
Parameters
Field | Type | Description | Required |
---|---|---|---|
separator | string | Separator. | true |
…arrays | string | Name of the array. | true |
Example(s)
This will return This is a test
as it concats array 1 and 2:
1client.command({2 name: "arrayConcat",3 code: `4 $arrayConcat[ ;array1;array2]5 $createArray[array1;This is]6 $createArray[array2;a test]7 `8});