grapheme_extract

Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0
Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8
<?php grapheme_extract(    string $haystack,    int $size,    int $type = GRAPHEME_EXTR_COUNT,    int $offset = 0,    int &$next = null): string|false