Re: proposal: unification of the grapheme_extract functions
| From: | Stanislav Malyshev | Date: | Mon, 12 May 2008 18:42:33 +0000 |
| Subject: | Re: proposal: unification of the grapheme_extract functions | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1193@lists.php.net to get a copy of this message | ||
Hi!
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.Doesn't mb_substr implement the character stuff? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com