Merge topic 'list-join'

a58158727b list(): add `JOIN` sub-command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1846
This commit is contained in:
Brad King
2018-03-20 13:39:45 +00:00
committed by Kitware Robot
16 changed files with 93 additions and 0 deletions
+11
View File
@@ -54,6 +54,17 @@ GET
Returns the list of elements specified by indices from the list.
JOIN
""""
::
list(JOIN <list> <glue> <output variable>)
Returns a string joining all list's elements using the glue string.
To join multiple strings, which are not part of a list, use ``JOIN`` operator
from :command:`string` command.
Search
^^^^^^
+4
View File
@@ -161,6 +161,10 @@ JOIN
Join all the input arguments together using the glue
string and store the result in the named output variable.
To join list's elements, use preferably the ``JOIN`` operator
from :command:`list` command. This allows for the elements to have
special characters like ``;`` in them.
TOLOWER
"""""""