Joins a list of strings into a single string using a separator.
join(xs:list, [separator:string]) -> stringDescription
Section titled “Description”The join function concatenates the elements of the input list xs into a
single string, separated by the specified separator.
xs: list
Section titled “xs: list”A list of strings to join.
separator: string (optional)
Section titled “separator: string (optional)”The string used to separate elements in the result.
Defaults to "".
Examples
Section titled “Examples”Join a list of strings with a comma
Section titled “Join a list of strings with a comma”from {x: join(["a", "b", "c"], "-")}{x: "a-b-c"}