Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

capitalize first letter of a string

const name = 'flavio'
const nameCapitalized = name.charAt(0).toUpperCase() + name.slice(1)
Source by www.tech-wiki.online #
 
PREVIOUS NEXT
Tagged: #capitalize #letter #string
ADD COMMENT
Topic
Name
8+5 =