Answers for "split by whitespace javascript"

0

split by whitespace javascript

var text = "hoi how     are          you";
var arr = text.split(/\s+/);
Posted by: Guest on May-24-2021

Code answers related to "split by whitespace javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language