DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
split by whitespace javascript
var text = "hoi how are you"; var arr = text.split(/s+/);
PREVIOUS
NEXT
Tagged:
#split
#whitespace
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit