diff --git a/reference/iconv/functions/iconv-strpos.xml b/reference/iconv/functions/iconv-strpos.xml index 95d25473ba..9916939012 100644 --- a/reference/iconv/functions/iconv-strpos.xml +++ b/reference/iconv/functions/iconv-strpos.xml @@ -16,7 +16,8 @@ stringcharsetini_get("iconv.internal_encoding") - Finds position of first occurrence of a needle within a haystack. + Finds position of first occurrence of a needle + within a haystack. In contrast to strpos, the return value of diff --git a/reference/iconv/functions/iconv-strrpos.xml b/reference/iconv/functions/iconv-strrpos.xml index a50b308297..554d390e18 100644 --- a/reference/iconv/functions/iconv-strrpos.xml +++ b/reference/iconv/functions/iconv-strrpos.xml @@ -15,10 +15,15 @@ stringcharsetini_get("iconv.internal_encoding") - In contrast to strpos, the return value of + Finds the last occurrence of a needle + within a haystack. + + + In contrast to strrpos, the return value of iconv_strrpos is the number of characters that appear before the needle, rather than the offset in bytes to the - position where the needle has been found. + position where the needle has been found. The characters are counted + on the basis of the specified character set charset. @@ -66,8 +71,6 @@ Returns the numeric position of the last occurrence of needle in haystack. - The characters are counted - on the basis of the specified character set charset. If needle is not found,