Waypoint Split Strings with split - GJSmith3rd/FreeCodeCamp-BootCamp GitHub Wiki

Contact me

Gilbert Joseph Smith III

@gjsmith3rd

Github | FreeCodeCamp | CodePen | LinkedIn | Blog/Site | E-Mail

Split Strings with split

You can use the .split() method to split a string into an array.

split uses the argument you give to to split the string.

array = string.split(' ');