Answers for "js split text on spaces"

3

js split text on spaces

var string = "text to split";
var words = string.split(" ");
Posted by: Guest on March-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language