diff options
author | Brad King <brad.king@kitware.com> | 2015-07-31 13:21:51 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-31 13:21:51 (GMT) |
commit | 6c3d0e9a6bf88a03442acf1f0bc1ef1575779d46 (patch) | |
tree | 8c081c6df6380d895429934e122015daf49c3262 /Help | |
parent | 8515f26a6381e32d8d15064afd030eb1392ce2d8 (diff) | |
parent | fe2e503ea4abe83ce091bfa2c8cf4d977fba388a (diff) | |
download | CMake-6c3d0e9a6bf88a03442acf1f0bc1ef1575779d46.zip CMake-6c3d0e9a6bf88a03442acf1f0bc1ef1575779d46.tar.gz CMake-6c3d0e9a6bf88a03442acf1f0bc1ef1575779d46.tar.bz2 |
Merge topic 'doc-string-FIND-failure-case'
fe2e503e Help: Document string(FIND) return value when no match is found
Diffstat (limited to 'Help')
-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: |