.split(characters)
Description
Parameters
Usage On Strings
num = "hello world, im doing pretty well"
log num.split(" ")
// ["hello","world,","im","doing","pretty","well"]Last updated
Split takes in a string and creates an array of parts of the string based on the parameter of the method, it does the inverse of the
Split needs the characters to split the array by
num = "hello world, im doing pretty well"
log num.split(" ")
// ["hello","world,","im","doing","pretty","well"]Last updated