array.join
The elements as one string with the separator between them. Numbers are written like str.tostring(x) (na as NaN); na strings are empty.
array.join(id: array<string>, separator: string = "") -> string
array.join(id: array<int/float>, separator: string = "") -> string
Parameters
idarray<string>: An array of strings or numbers; na stops the script with a runtime error.separatorstring: Text between the elements (default "").
Example
array.join(names, ", ")