summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-31 13:21:51 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-07-31 13:21:51 (GMT)
commit6c3d0e9a6bf88a03442acf1f0bc1ef1575779d46 (patch)
tree8c081c6df6380d895429934e122015daf49c3262 /Help
parent8515f26a6381e32d8d15064afd030eb1392ce2d8 (diff)
parentfe2e503ea4abe83ce091bfa2c8cf4d977fba388a (diff)
downloadCMake-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.rst2
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: