Is there a function built into Java that capitalizes the first character of each word in a String, and does not affect the others?
Examples:
jon
Using org.apache.commons.lang.StringUtils makes it very simple.
org.apache.commons.lang.StringUtils
capitalizeStr = StringUtils.capitalize(str);