string-join
Joins the list of strings supplied as argument into a string. Optionally, inserts the separator supplied as argument in between each string.
Signature
string-join(list:list of string, separator:string="") -> string |
Parameters
Name | Type | Description |
---|---|---|
list | list of string | The input list of string. |
separator | string | Optional argument. Specifies the separator by which all joined strings should be delimited. |
Examples
The following expression will return the string a;b;c:
string-join(list('a', 'b', 'c'), ';') |