Skip to content

Challenge Split Strings with split

SaintPeter edited this page · 1 revision
Clone this wiki locally

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(' ');

Something went wrong with that request. Please try again.