Skip to content

$arrayJoin

$arrayJoin will join the array with a given separator.

Usage

$arrayJoin[name;separator?]

Parameters

FieldTypeDescriptionRequired
namestringArray name.true
separator?stringSeparator.false

Example(s)

1
client.command({
2
name: "array-join",
3
code: `
4
$arrayJoin[array;, ]
5
$createArray[array;aoi.js;akarui;documents;bot]
6
`
7
});