string: Add JOIN subcommand

This is just like CONCAT but accepts a glue string to put between
each value.  `JOIN ""` is equivalent to `CONCAT`.
This commit is contained in:
Alex Turbov
2018-02-11 21:20:57 +08:00
committed by Brad King
parent e24cda008e
commit 689eeb67cb
12 changed files with 75 additions and 2 deletions

View File

@@ -151,6 +151,16 @@ CONCAT
Concatenate all the input arguments together and store
the result in the named output variable.
JOIN
""""
::
string(JOIN <glue> <output variable> [<input>...])
Join all the input arguments together using the glue
string and store the result in the named output variable.
TOLOWER
"""""""