grapheme_striposFind position (in grapheme units) of first occurrence of a case-insensitive string DescriptionProcedural style
int grapheme_stripos
( string
$haystack
, string $needle
[, int $offset = 0
] )Find position (in grapheme units) of first occurrence of a case-insensitive string Parameters
Return ValuesReturns the position as an integer. If needle is not found, grapheme_stripos() will return boolean FALSE. ExamplesExample #1 grapheme_stripos example
<?php The above example will output: 2 See Also
|