Answers for "how to convert fisrt char in string to uppercase in java"

1

how to convert char to uppercase java

char first = Character.toUpperCase(userIdea.charAt(0));
betterIdea = first + userIdea.substring(1);
Posted by: Guest on June-21-2020

Code answers related to "how to convert fisrt char in string to uppercase in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language