Skip to content

join

Joins a list of strings into a single string using a separator.

join(xs:list, [separator:string]) -> string

The join function concatenates the elements of the input list xs into a single string, separated by the specified separator.

A list of strings to join.

The string used to separate elements in the result.

Defaults to "".

from {x: join(["a", "b", "c"], "-")}
{x: "a-b-c"}

split, split_regex