iconv_strposFinds position of first occurrence of a needle within a haystack Description
int iconv_strpos
( string
$haystack
, string $needle
[, int $offset = 0
[, string $charset = ini_get("iconv.internal_encoding")
]] )
Finds position of first occurrence of a
In contrast to strpos, the return value of
iconv_strpos 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. The characters are counted
on the basis of the specified character set Parameters
If Return Values
Returns the numeric position of the first occurrence of
If Warning
This function may
return Boolean See Also
|