Search
 
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
Name
6+5 =