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

DO THIS!

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