Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Symfony polyfill for intl's grapheme_* functions

License

NotificationsYou must be signed in to change notification settings

symfony/polyfill-intl-grapheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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-8
  • grapheme_stripos: Find position (in grapheme units)of first occurrence of a case-insensitive string
  • grapheme_stristr: Returns part of haystack stringfrom 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 fromthe first occurrence of needle to the end of haystack
  • grapheme_substr: Return part of a string

More information can be found in themain Polyfill README.

License

This library is released under theMIT license.


[8]ページ先頭

©2009-2025 Movatter.jp