grapheme_extractFunction to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. DescriptionProcedural style
string grapheme_extract
( string
$haystack
, int $size
[, int $extract_type
[, int $start = 0
[, int &$next
]]] )Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. Parameters
Return ValuesA string starting at offset $start and ending on a default grapheme cluster boundary that conforms to the $size and $extract_type specified. ExamplesExample #1 grapheme_extract example
<?php The above example will output: o%CC%88 |