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