SPLIT_BY_STRING
Overview
Splits a string by a literal string delimiter and returns an ARRAY<STRING>. Unlike SPLIT, the delimiter is treated as a literal string rather than a regular expression, making it safe for delimiters that contain regex special characters (such as :: or |).
Syntax
Parameters
<str>: STRING type. The string to split.<delimiter>: STRING type. The literal string delimiter; not interpreted as a regular expression.
Examples
Related Documentation
- SPLIT — splits by regular expression
- SPLIT_BY_REGEXP — explicitly splits by regular expression
- REGEXP_SPLIT_TO_ARRAY
