List of utility methods to do String Lower Case
String | toLowerCaseFirst(String str) to Lower Case First if (str == null || str.length() == 0) { return str; String first = str.substring(0, 1).toLowerCase(); String rest = str.substring(1, str.length()); String newStr = new StringBuffer(first).append(rest).toString(); return newStr; |
String | toLowerCaseFirst(String str) to Lower Case First if (str == null) { return null; } else if (str.length() == 0) { return str; } else { String pre = String.valueOf(str.charAt(0)); return str.replaceFirst(pre, pre.toLowerCase()); |
String | toLowerCaseFirst(String text) Changes the first character of the given text to lower case. char[] charArray = text.toCharArray(); charArray[0] = Character.toLowerCase(charArray[0]); return String.valueOf(charArray); |
String | toLowerCaseFirst(String text) to Lower Case First return text.substring(0, 1).toLowerCase() + text.substring(1);
|
String | toLowerCaseFirstLetter(String str) to Lower Case First Letter return str.substring(0, 1).toLowerCase() + str.substring(1);
|
String | toLowercaseFirstLetter(String str) to Lowercase First Letter if (str == null || str.length() == 0) { return str; char firstLetter = str.charAt(0); if (Character.isUpperCase(firstLetter)) { if (str.length() > 1) { return "" + Character.toLowerCase(firstLetter) + str.substring(1); } else { ... |
String | toLowercaseFirstLetter(String value) to Lowercase First Letter String capital = null; if (value != null) { int length = value.length(); if (length > 0) { StringBuffer buffer = new StringBuffer(value); for (int i = 0; i < length; i++) { char ch = value.charAt(i); if (i == 0 || i == length - 1 ... |
String | toLowerCaseFirstOne(String s) to Lower Case First One if (Character.isLowerCase(s.charAt(0))) return s; else return (new StringBuilder()).append(Character.toLowerCase(s.charAt(0))).append(s.substring(1)) .toString(); |
String | toLowerCaseIdent(String ident) to Lower Case Ident return Character.toLowerCase(ident.charAt(0)) + ident.substring(1);
|
String | toLowerCaseIgnoreNull(String tobeDone) to Lower Case Ignore Null if (tobeDone != null) { return tobeDone.toLowerCase(); return null; |