Jyxo\StringUtil::lcfirst PHP Method

lcfirst() public static method

Works correctly with multibyte encodings.
public static lcfirst ( string $string ) : string
$string string Input string
return string
    public static function lcfirst(string $string) : string
    {
        return mb_strtolower(mb_substr($string, 0, 1, 'utf-8')) . mb_substr($string, 1, mb_strlen($string, 'utf-8') - 1, 'utf-8');
    }