Re: proposal: unification of the grapheme_extract functions

Stanislav Malyshev <[email protected]> Mon, 12 May 2008 10:33:31 -0700
Newsgroups gmane.comp.php.internationalization
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]

-- 
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php