List of utility methods to do String Uncapitalize
String | uncapitalize(String str) uncapitalize return changeFirstCharacterCase(str, false);
|
String | uncapitalize(String str) uncapitalize int strLen; if ((str == null) || ((strLen = str.length()) == 0)) { return str; return strLen + Character.toLowerCase(str.charAt(0)) + str.substring(1); |
String | uncapitalize(String str) uncapitalize int strLen; return str != null && (strLen = str.length()) != 0 ? (new StringBuffer(strLen)) .append(Character.toLowerCase(str.charAt(0))).append(str.substring(1)).toString() : str; |
String | uncapitalize(String string) Returns the specified string with its first character converted to lower case. int length = string.length(); if (length == 0) { return string; } else if (length == 1) { return string.toLowerCase(); } else { return (Character.toLowerCase(string.charAt(0)) + string.substring(1)); |
String | unCapitalize(String string) Will return a uncapitalized string return string.substring(0, 1).toLowerCase() + string.substring(1);
|
String | uncapitalize(String string) uncapitalize return prepare(string, false);
|
String | uncapitalize(String string) uncapitalize return string.substring(0, 1).toLowerCase() + string.substring(1);
|
String | uncapitalize(String string0) Safely uncapitalizes a string by converting the first character to lower case. if (string0 == null) { return null; int length = string0.length(); if (length == 0) { return string0; } else if (length == 1) { return string0.toLowerCase(); ... |
String | uncapitalize(String text) Makes the first character of a String lowercase. return text.substring(0, 1).toLowerCase() + text.substring(1);
|
String | unCapitalizeClass(String className) Uncapitalizes a full qualified class name. StringBuilder builder = new StringBuilder(className.length()); int packageIndex = className.lastIndexOf("."); if (packageIndex != -1) { builder.append(className.substring(0, packageIndex + 1)); builder.append(Character.toLowerCase(className.charAt(packageIndex + 1))); builder.append(className.substring(packageIndex + 2)); className = builder.toString(); ... |