From fe2e503ea4abe83ce091bfa2c8cf4d977fba388a Mon Sep 17 00:00:00 2001 From: James Johnston Date: Thu, 30 Jul 2015 15:54:21 +0000 Subject: Help: Document string(FIND) return value when no match is found --- Help/command/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12