Array Join
Module Info:
moduleType: "internal",
moduleName: "join"
Description
The join
function joins all the items in an array into a single string
Inputs
Name | Type | Required |
---|---|---|
array | Array<any> | ✔ |
separator | string | ✖ (Default: "," ) |
Outputs
Name | Type |
---|---|
result | string |
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" |