Re: [PHP-I18N] proposal: unification of the grapheme_extract functions
[email protected] (Stanislav Malyshev) Mon, 12 May 2008 10:33:31 -0700
| Newsgroups | php.i18n |
|---|---|
| Organization | Zend Technologies |
| Message-ID | <[email protected]> |
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_COUNT I'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 [email protected] http://www.zend.com/ (408)253-8829 MSN: [email protected]