> It is an option that should be offered, because it is good for > performance, but it is more tedious programming and harder to migrate > programs to use this functionality.
I understand what you are saying. However, everyone should move towards using break iterator, I believe, for performance reasons! 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 The next question would be - what is the default? Should it be 'byte count' in all cases, or should it match the $extract_type - graphemes if 'count', bytes if 'max bytes' etc. I suspect the latter, if I understand your use-case. Thoughts? =Ed -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php