diff options
author | Brad King <brad.king@kitware.com> | 2018-02-20 16:47:43 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-02-20 16:47:51 (GMT) |
commit | 846a4dd1185e990da0948f97e245e704a1d68c93 (patch) | |
tree | ad282440fff682f5eee7ae5d76bb43fbeb994b2f /Help | |
parent | 8a99ccc5ed2ce7204b29126f884121bdc39b7bbe (diff) | |
parent | 689eeb67cb87a9ed1d91a4971806488d00e68f42 (diff) | |
download | CMake-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.rst | 10 | ||||
-rw-r--r-- | Help/release/dev/string-join.rst | 5 |
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. |