grapheme_strposFind position (in grapheme units) of first occurrence of a string BeschreibungProzeduraler Stil
int grapheme_strpos
( string
$haystack
, string $needle
[, int $offset = 0
] )Find position (in grapheme units) of first occurrence of a string Parameter-Liste
RückgabewerteReturns the position as an integer. If needle is not found, grapheme_strpos() will return boolean FALSE. Changelog
BeispieleBeispiel #1 grapheme_strpos example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 2 Siehe auch
|