Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Capitalize the first letter of string using JavaScript

function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #Capitalize #letter #string #JavaScript
ADD COMMENT
Topic
Name
7+7 =