From cf6ad67743feba43eb2518424a3871330cf0a150 Mon Sep 17 00:00:00 2001 From: Robert Szczepanek Date: Thu, 5 Sep 2013 00:27:00 -0400 Subject: [PATCH] [function help] In strpos() needle is string, not number --- resources/function_help/strpos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/function_help/strpos b/resources/function_help/strpos index a8741e6c4f1..bcc28f7fe8d 100644 --- a/resources/function_help/strpos +++ b/resources/function_help/strpos @@ -9,7 +9,7 @@ Returns -1 if the expression isn't found.

Arguments

haystack → is string. The string that is to be searched.
- needle → is number. The regular expression to look for.
+ needle → is string. The regular expression to look for.

Example