Re: proposal: unification of the grapheme_extract functions

From: Date: Mon, 12 May 2008 19:32:51 +0000
Subject: Re: proposal: unification of the grapheme_extract functions
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-1195@lists.php.net to get a copy of this message
Hi!
considered adding a 'grapheme mode' to the mb API though.) grapheme_extract is different, I think, because it is bridging graphemes and bytes/characters. I don't know of an mb function like that - there's no mb_extract.
Maybe I just misunderstand the use case for the extract function - what it's supposed to do that substr, mb_substr and grapheme_substr can't or do worse? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.i18n (#1195) next »