Split
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.
Syntax
Parameters
Name
Type
Required
Description
text
text
☑️
The text to split.
separator
text
☑️
Specifies the character(s) to use for separating the text.
Last updated
Was this helpful?