You have a string and you want to capitalize the first character but have the rest of the word in lowercase.

DO THIS!

myStringVar = myStringVar.substring(0, 1).toUpperCase()+myStringVar.substring(1);