Split
Last updated
Was this helpful?
Last updated
Was this helpful?
Note: The separator
is case sensitive!
Returns an array of text values split at each point where the separator occurs in the given text. Only segments that have a value are included in the returned array. When a split occurs without a value, it is not included. A space is considered as a value and will be returned as a separate array element. This can be useful for counting the number of separations, for example.
text
text
The text to split.
separator
text
Specifies the character(s) to use for separating the text.