Re: proposal: unification of the grapheme_extract functions
| From: | Stanislav Malyshev | Date: | Mon, 12 May 2008 17:33:31 +0000 |
| Subject: | Re: proposal: unification of the grapheme_extract functions | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1191@lists.php.net to get a copy of this message | ||
Hi!
I could add more options to the extract call to allow the user to specify what $start means: GRAPHEME_EXTR_START_BYTE_COUNT GRAPHEME_EXTR_START_CHAR_COUNT GRAPHEME_EXTR_START_GRAPHEME_COUNTI'm afraid that might be an overkill - if you need to start at N graphemes, why not do grapheme_substr then? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com