RE: [PHP-I18N] proposal: unification of the grapheme_extract functions

[email protected] ("Ed Batutis") Mon, 12 May 2008 14:13:12 -0400
Newsgroups php.i18n
Message-ID <[email protected]>
> 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