Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

print each word in a string javascript

'This is  a test.  This is only a test.'.match(/(w+)/g)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #word #string #javascript
ADD COMMENT
Topic
Name
3+3 =