DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript get first letter of each word
var msg = "Name Surname a" var acronym = msg.match(/(w)/g).join(''); console.log(acronym)
PREVIOUS
NEXT
Tagged:
#javascript
#letter
#word
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit