Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Capitalize first letter

String name;

BufferedReader br = new InputStreamReader(System.in);

String s1 = name.charAt(0).toUppercase());

System.out.println(s1 + name.substring(1));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Capitalize #letter
ADD COMMENT
Topic
Name
3+1 =