API Reference › Text › Text.join
method

Text.join

Text.join(parts, sep) -> string

Concatenates the strings in the slice parts into one string, placing sep between each — the inverse of Text.split. With an empty separator it simply concatenates. Use it to build a CSV row, a path, or a display list from pieces.

Example

program Demo {
  handler Step phase Update {
    let line = Text.join(fields, ",")
  }
}
← All symbols