char q = Character.toUpperCase('d');
string s="hello"; s = Character.toUpperCase(s.charAt(0)) + s.substring(1); The output will be: Hello
char first = Character.toUpperCase(userIdea.charAt(0)); betterIdea = first + userIdea.substring(1);