js split text on spaces

Solutions on MaxInterview for js split text on spaces by the best coders in the world

showing results for - "js split text on spaces"
Jacopo
05 Feb 2019
1var string = "text to split";
2var words = string.split(" ");