Dmitriy Gnatenko e5f3fbd37b Vendors updated | 3 年之前 | |
---|---|---|
.. | ||
Grapheme.php | 3 年之前 | |
LICENSE | 4 年之前 | |
README.md | 4 年之前 | |
bootstrap.php | 3 年之前 | |
bootstrap80.php | 3 年之前 | |
composer.json | 3 年之前 |
This component provides a partial, native PHP implementation of the Grapheme functions from the Intl extension.
grapheme_extract
: Extract a sequence of grapheme
clusters from a text buffer, which must be encoded in UTF-8grapheme_stripos
: Find position (in grapheme units)
of first occurrence of a case-insensitive stringgrapheme_stristr
: Returns part of haystack string
from the first occurrence of case-insensitive needle to the end of haystackgrapheme_strlen
: Get string length in grapheme unitsgrapheme_strpos
: Find position (in grapheme units)
of first occurrence of a stringgrapheme_strripos
: Find position (in grapheme units)
of last occurrence of a case-insensitive stringgrapheme_strrpos
: Find position (in grapheme units)
of last occurrence of a stringgrapheme_strstr
: Returns part of haystack string from
the first occurrence of needle to the end of haystackgrapheme_substr
: Return part of a stringMore information can be found in the main Polyfill README.
This library is released under the MIT license.