PHP » GoLang |
login |
register |
about
|
GoLang grapheme_stripos
request it (420)
GoLang replacement for PHP's grapheme_stripos
[edit | history]
grapheme_stripos(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) grapheme_stripos — Find 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. Changelog
ExamplesExample #1 grapheme_stripos() example
<?php The above example will output: 2 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|