Java Utililty Methods Char Lower Case

List of utility methods to do Char Lower Case

Description

The list of methods to do Char Lower Case are organized into topic(s).

Method

StringtoLowerCaseFirstChar(String string)
to Lower Case First Char
if (string == null || string.length() == 0) {
    return string;
} else {
    char[] charArray = string.toCharArray();
    charArray[0] = Character.toLowerCase(charArray[0]);
    return String.valueOf(charArray);
StringtoLowercaseFirstCharacter(String s)
to Lowercase First Character
if (s == null || s.length() == 0) {
    return s;
return Character.toLowerCase(s.charAt(0)) + (s.length() > 1 ? s.substring(1) : "");
StringtoLowercaseFirstCharUppercase(final String string)
Converts a string to first character capitalized case.
final String lower = string.toLowerCase();
return Character.toUpperCase(lower.charAt(0)) + lower.substring(1);
StringtoLowerCaseForFirstChar(String str)
to Lower Case For First Char
return str.substring(0, 1).toLowerCase().concat(str.substring(1));
char[]toLowerCaseInPlace(char[] array)
In place to lower case conversion.
for (int i = array.length; --i >= 0;) {
    array[i] = Character.toLowerCase(array[i]);
return array;