diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -441,6 +441,14 @@ static function ucfirst($string) } /** + * Lowercase first character similar to lcfirst() but for mbstring.internal_encoding + */ +static function lcfirst($string) +{ + return mb_strtolower(mb_substr($string, 0, 1)) . mb_substr($string, 1); +} + +/** * Uppercase first character of each word similar to ucwords() but for mbstring.internal_encoding */ static function ucwords($string) |