Example strings
one thousand only two hundred twenty seven
How do I change the first character of a string in capital letter and not change
Simplest way is to use org.apache.commons.lang.StringUtils class
org.apache.commons.lang.StringUtils
StringUtils.capitalize(Str);