当前位置:网站首页>Utility class functions (continuous update)

Utility class functions (continuous update)

2020-11-06 21:45:00 Architects who can drive

/**
 *  Initial lowercase method 
 */
private static String lowerFirst(String str) {
    char[] chars = str.toCharArray();
    if('A' <= chars[0] && chars[0] <= 'Z') {
        chars[0] += 32;
    }
    return String.valueOf(chars);
}

版权声明
本文为[Architects who can drive]所创,转载请带上原文链接,感谢