Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript capitalize first letter

const lower = 'this is an entirely lowercase string';
const upper = lower.charAt(0).toUpperCase() + lower.substring(1);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #capitalize #letter
ADD COMMENT
Topic
Name
3+1 =