join

Joins the items of a list into one text, with a separator between them. An item that is not text is converted (a number becomes its digits; null becomes nothing).

Runs on: either side: the compiler places the statement that calls it where the values it uses live.

Format:

join(list [, separator])

Parameters:

Parameter Type Description
list array the items
separator string  [Optional]the text put between items; a comma unless given

Returned Value:

Type Description
string the joined text

Examples

tag_text = join(tags, ", ")