RE: [PHP-I18N] proposal: unification of the grapheme_extract functions
| From: | Ed Batutis | Date: | Mon, 12 May 2008 18:13:12 +0000 |
| Subject: | RE: [PHP-I18N] proposal: unification of the grapheme_extract functions | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1192@lists.php.net to get a copy of this message | ||
> I'm afraid that might be an overkill - if you need to start at N
> graphemes, why not do grapheme_substr then?
I agree - grapheme_extract starting at N graphemes and returning a count of
graphemes is exactly the same functionality as grapheme_substr, but the
other combinations are not covered elsewhere, I think. I cannot think of a
solid basis for excluding any of the others. And I don't know how to change
the API to make that particular combination 'special' so it can be excluded.
=Ed