Capy-Bearer Documentation

join

lib call

Capy

function join(items : dval, delimiter : string = "\n") string

Description

join() reads each list value as text. It uses a newline when you omit the delimiter.

Parameters

items : a dval list

delimiter : text between values

Return Values

One string with the values separated by delimiter.

Example

Capy

print(join(split("a,b,c", ","), "-"), "\n")