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
if you only want to capitalize the first letter then the below code can be used
String output = input.substring(0, 1).toUpperCase() + input.substring(1);