PHP multibyte functions
Version 1.1.1, (*1)
, (*2)
Copyright © 2015-2016 Martijn van der Lee.
MIT Open Source license applies., (*3)
Introduction
This is just a collection of multibyte (mb_*) functions to augment the builtin
functions., (*4)
Unittests included., (*5)
Methods
mb_explode
array mb_explode($pattern, $subject[, $limit = -1[, $flags = 0 ] ]), (*6)
Multibyte version of preg_split, including all it's flags., (*7)
The $pattern behaves like the patterns of mb_split, all other arguments and the return is like preg_split., (*8)
mb_trim
string mb_trim($string), (*9)
Trims whitespace from both the left and right side of the string., (*10)
mb_ucfirst
string mb_ucfirst($string[, string $encoding = mb_internal_encoding() ]), (*11)
Make a string's first character uppercase., (*12)
mb_ucwords
string mb_ucwords($string[, string $encoding = mb_internal_encoding() ]), (*13)
Uppercase the first character of each word in a string., (*14)