intl Functions
PHP Manual

grapheme_extractb

(No version information available, might be only in CVS)

grapheme_extractb — Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8.

Description

Procedural style

string grapheme_extractb ( string $haystack , int $bsize [, int $start ] )

Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8.

Parameters

haystack

string to search

bsize

maximum number of bytes to return

start

starting position in $haystack in bytes

Return Values

A string starting at offset $start containing no more than $bsize bytes and ending on a default grapheme cluster boundary.

Examples

Example #1 grapheme_extractb() example

< ?php
TODO
?>

The above example will output:

         
TODO

See Also

TODO


intl Functions
PHP Manual