- Notifications
You must be signed in to change notification settings - Fork4
Symfony polyfill for intl's grapheme_* functions
License
NotificationsYou must be signed in to change notification settings
symfony/polyfill-intl-grapheme
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This component provides a partial, native PHP implementation of theGrapheme functions from theIntl extension.
grapheme_extract
: Extract a sequence of graphemeclusters 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 stringfrom 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 fromthe first occurrence of needle to the end of haystackgrapheme_substr
: Return part of a string
More information can be found in themain Polyfill README.
This library is released under theMIT license.
About
Symfony polyfill for intl's grapheme_* functions
Topics
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Packages0
No packages published