split
function:
Split the string into array of strings.
Examples:
- running:
(split "one, two, three", ", ")
will give:["one", "two", "three"]
- running:
(split "a|b|c", "|")
will give:["a", "b", "c"]
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
split
function:Split the string into array of strings.
(split "one, two, three", ", ")
will give: ["one", "two", "three"]
(split "a|b|c", "|")
will give: ["a", "b", "c"]