StocksNew/vendor/symfony/polyfill-intl-grapheme
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45
..
bootstrap80.php first commit 2024-08-27 17:48:06 +05:45
bootstrap.php first commit 2024-08-27 17:48:06 +05:45
composer.json first commit 2024-08-27 17:48:06 +05:45
Grapheme.php first commit 2024-08-27 17:48:06 +05:45
LICENSE first commit 2024-08-27 17:48:06 +05:45
README.md first commit 2024-08-27 17:48:06 +05:45

Symfony Polyfill / Intl: Grapheme

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-8
  • grapheme_stripos: Find position (in grapheme units) of first occurrence of a case-insensitive string
  • grapheme_stristr: Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack
  • grapheme_strlen: Get string length in grapheme units
  • grapheme_strpos: Find position (in grapheme units) of first occurrence of a string
  • grapheme_strripos: Find position (in grapheme units) of last occurrence of a case-insensitive string
  • grapheme_strrpos: Find position (in grapheme units) of last occurrence of a string
  • grapheme_strstr: Returns part of haystack string from the first occurrence of needle to the end of haystack
  • grapheme_substr: Return part of a string

More information can be found in the main Polyfill README.

License

This library is released under the MIT license.