DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+5 =
Submit