I am trying figure out how to change the character at position 0 of a string to uppercase if it is lower case. I am sorry if this is a dumb question, but it is stumping me. Something like this:
String myString = "hello";
if( //string position 0 is lowercase )
{
char myChar = myString.charAt(0);
myChar.toUpperCase();
}
I think .toUpperCase() only works for strings though. Any help would be appreciated!