split

Returns a list of values created by splitting a string by a separator.
Accepts
Returns
Syntax
split(text, separator) text.split(separator)

split("2024-09-05", "-")
=
2024, 09, 05 ["2024", "09", "05"]
"I put my thang down, flip it, and reverse it."
	.split("")
	.reverse()
	.join("")"I put my thang down, flip it, and reverse it."

    /* Create a list of every character */
	.split("")

    /* Reverse the list of characters */
	.reverse()
    
    /* Create a new string by joining them all back together */
	.join("")
=
.ti esrever dna ,ti pilf ,nwod gnaht ym tup I ".ti esrever dna ,ti pilf ,nwod gnaht ym tup I"