mb_split

(4.2.0 - 4.3.0 only)

mb_split -- Split multibyte string using regular expression

Description

array mb_split ( string pattern, string string [, int limit])

Ostrze┐enie

Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, ┐e zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj mo┐e zostaµ zmienione w przysz│ych wersjach PHP bez wcze╢niejszego uprzedzenia. U┐ywaj tej funkcji na w│asne ryzyko.

mb_split() split multibyte string using regular expression pattern and returns the result as an array.

If optional parameter limit is specified, it will be split in limit elements as maximum.

The internal encoding or the character encoding specified in mb_regex_encoding() will be used as character encoding.

Notatka: This function is supported in PHP 4.2.0 or higher.

See also: mb_regex_encoding(), mb_ereg().