string: add APPEND subcommand

This commit is contained in:
Daniel Pfeifer
2015-07-06 22:28:04 +02:00
committed by Brad King
parent 7e86f567ac
commit 2b18cdcaba
9 changed files with 107 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ String operations.
string(REPLACE <match_string>
<replace_string> <output variable>
<input> [<input>...])
string(APPEND <string variable> [<input>...])
string(CONCAT <output variable> [<input>...])
string(<MD5|SHA1|SHA224|SHA256|SHA384|SHA512>
<output variable> <input>)
@@ -55,6 +56,8 @@ through argument parsing.
``REPLACE`` will replace all occurrences of ``match_string`` in the input
with ``replace_string`` and store the result in the output.
``APPEND`` will append all the input arguments to the string.
``CONCAT`` will concatenate all the input arguments together and store
the result in the named output variable.

View File

@@ -0,0 +1,4 @@
string-append
-------------
* The :command:`string` command learned a new ``APPEND`` subcommand.