PHP » GoLang |
login |
register |
about
|
GoLang grapheme_strrpos
request it (419)
GoLang replacement for PHP's grapheme_strrpos
[edit | history]
grapheme_strrpos(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) grapheme_strrpos — Find position (in grapheme units) of last occurrence of a string DescriptionProcedural style
int grapheme_strrpos
( string
$haystack
, string $needle
[, int $offset = 0
] )Find position (in grapheme units) of last occurrence of a string Parameters
Return ValuesReturns the position as an integer. If needle is not found, grapheme_strrpos() will return boolean FALSE. ExamplesExample #1 grapheme_strrpos() example
<?php The above example will output: 2 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|