summaryrefslogtreecommitdiffstats
path: root/Help/command/list.rst
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@sap.com>2018-03-19 14:06:52 (GMT)
committerMarc Chevrier <marc.chevrier@sap.com>2018-03-20 13:28:17 (GMT)
commita58158727be4585f9fd71449e9cc9e801c59a009 (patch)
tree833d347cc669950b33e7afbc57a31be63ad3d405 /Help/command/list.rst
parentd8826406aa343580fb4436058c205581da377d37 (diff)
downloadCMake-a58158727be4585f9fd71449e9cc9e801c59a009.zip
CMake-a58158727be4585f9fd71449e9cc9e801c59a009.tar.gz
CMake-a58158727be4585f9fd71449e9cc9e801c59a009.tar.bz2
list(): add `JOIN` sub-command
Diffstat (limited to 'Help/command/list.rst')
-rw-r--r--Help/command/list.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/command/list.rst b/Help/command/list.rst
index e6a7069..3c092bd 100644
--- a/Help/command/list.rst
+++ b/Help/command/list.rst
@@ -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
^^^^^^