Scalar function
Returns NULL for NULL value/pattern or explicit NULL limit.
Syntax
Scalar
Arguments
Returns
- Type: ARRAY<STRING>
- Possible values: The split parts.
- NULL behavior: Returns NULL for NULL value/pattern or explicit NULL limit.
- Shape: One element per part, bounded by a positive limit.
- Ordering: String encounter order.
Properties
Usage notes
- Omitted/nonpositive limit retains trailing empty parts. Empty pattern splits into Unicode characters.
Examples
Typical behavior
Split without a limit
Limitations
- Invalid regex and nonconstant limit raise errors.
Last modified on October 15, 2026