summaryrefslogtreecommitdiffstats
path: root/Help/command/string.rst
diff options
context:
space:
mode:
authorJames Johnston <JamesJ@motionview3d.com>2015-07-30 15:54:21 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-30 17:24:44 (GMT)
commitfe2e503ea4abe83ce091bfa2c8cf4d977fba388a (patch)
tree9184d468a0219fe15783cca7cc86042d511d10fb /Help/command/string.rst
parenta8c3698526cfa11c61d9dfd8c0f9fa8d2c7ff10a (diff)
downloadCMake-fe2e503ea4abe83ce091bfa2c8cf4d977fba388a.zip
CMake-fe2e503ea4abe83ce091bfa2c8cf4d977fba388a.tar.gz
CMake-fe2e503ea4abe83ce091bfa2c8cf4d977fba388a.tar.bz2
Help: Document string(FIND) return value when no match is found
Diffstat (limited to 'Help/command/string.rst')
-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: