Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

js first letter to uppercase

function capitalizeFirstLetter(name) {
    return name.replace(/^./, name[0].toUpperCase())
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #letter #uppercase
ADD COMMENT
Topic
Name
4+8 =