DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check how many strings are in a sentence javascript
function WordCounter (str) { var words = str.split(" ").length; return words; } // this should work!
PREVIOUS
NEXT
Tagged:
#check
#strings
#sentence
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit