Skip to main content

Array Join

Module Info:​

moduleType: "internal",
moduleName: "join"

Description​

The join function joins all the items in an array into a single string

Inputs​

NameTypeRequired
arrayArray<any> ✔
separatorstring ✖ (Default: ",")

Outputs​

NameType
resultstring

Examples​

Inputs Outputs
array separator result
[ 1, 1, 2, 3 ] undefined "1,1,2,3"
[ 1, 1, 2, 3 ] " -=- " "1 -=- 1 -=- 2 -=- 3"
[ "left", "right", "right" ] ", then " "left, then right, then right"