diff options
author | James Johnston <JamesJ@motionview3d.com> | 2015-07-30 15:54:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-30 17:24:44 (GMT) |
commit | fe2e503ea4abe83ce091bfa2c8cf4d977fba388a (patch) | |
tree | 9184d468a0219fe15783cca7cc86042d511d10fb | |
parent | a8c3698526cfa11c61d9dfd8c0f9fa8d2c7ff10a (diff) | |
download | CMake-fe2e503ea4abe83ce091bfa2c8cf4d977fba388a.zip CMake-fe2e503ea4abe83ce091bfa2c8cf4d977fba388a.tar.gz CMake-fe2e503ea4abe83ce091bfa2c8cf4d977fba388a.tar.bz2 |
Help: Document string(FIND) return value when no match is found
-rw-r--r-- | Help/command/string.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst index bc4399c..20f8094 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -96,7 +96,7 @@ random number generator. ``FIND`` will return the position where the given substring was found in the supplied string. If the ``REVERSE`` flag was used, the command will search for the position of the last occurrence of the specified -substring. +substring. If the substring is not found, a position of -1 is returned. The following characters have special meaning in regular expressions: |