UNCAPITALIZE

Examples:

		String firstChar = s.substring(0,1);
		String restChars = s.substring(1);
		String result = firstChar.toLowerCase()+restChars;
		

Can be refactored as:

		String result = StringUtils.uncapitalize(s);

library: Apache commons-lang
JavaDoc
Download

See also: CAPITALIZE

Home
List of rules