summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-20 16:47:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-02-20 16:47:51 (GMT)
commit846a4dd1185e990da0948f97e245e704a1d68c93 (patch)
treead282440fff682f5eee7ae5d76bb43fbeb994b2f /Help
parent8a99ccc5ed2ce7204b29126f884121bdc39b7bbe (diff)
parent689eeb67cb87a9ed1d91a4971806488d00e68f42 (diff)
downloadCMake-846a4dd1185e990da0948f97e245e704a1d68c93.zip
CMake-846a4dd1185e990da0948f97e245e704a1d68c93.tar.gz
CMake-846a4dd1185e990da0948f97e245e704a1d68c93.tar.bz2
Merge topic 'string-join'
689eeb67 string: Add JOIN subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1762
Diffstat (limited to 'Help')
-rw-r--r--Help/command/string.rst10
-rw-r--r--Help/release/dev/string-join.rst5
2 files changed, 15 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index d8da7be..cd94bb4 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -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
"""""""
diff --git a/Help/release/dev/string-join.rst b/Help/release/dev/string-join.rst
new file mode 100644
index 0000000..5cca711
--- /dev/null
+++ b/Help/release/dev/string-join.rst
@@ -0,0 +1,5 @@
+string-join
+-----------
+
+* The :command:`string` command learned a ``JOIN`` sub-command
+ to concatenate input strings separated by a glue string.