From 196836d7acb3fbc0e8f1ece92ebde8e698479971 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Sun, 2 Nov 2003 19:08:41 +0000 Subject: [PATCH] Initial documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143617 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/iconv/functions/iconv-strpos.xml | 30 +++++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/reference/iconv/functions/iconv-strpos.xml b/reference/iconv/functions/iconv-strpos.xml index 3247de2bda..e0840d699f 100644 --- a/reference/iconv/functions/iconv-strpos.xml +++ b/reference/iconv/functions/iconv-strpos.xml @@ -1,25 +1,47 @@ - + iconv_strpos - Finds position of first occurrence of needle within part of haystack beginning with offset + Finds position of first occurrence of a needle within a haystack. Description - stringiconv_strpos + inticonv_strpos stringhaystack stringneedle intoffset stringcharset + + Returns the numeric position of the first occurrence of + needle in haystack. + + + The optional offset parameter specifies + the position from which the search should be performed. + + + If needle is not found, + strpos will return &false;. + - &warn.undocumented.func; + &return.falseproblem; + + If haystack or needle is + not a string, it is converted to an integer and applied as the ordinal + value of a character. + + + + See also strpos and + iconv_strrpos. +