Text & patterns
Scalar
split()
Splits the string along the separator.
Reference: DuckDB 2.0.0
Alias of string_split()
Arguments & returns
split(string, separator)
Scalar
| Overload link | string | separator |
Returns |
|---|---|---|---|
| #01 | VARCHAR | VARCHAR |
VARCHAR[] |
Catalog examples
SELECT
split('hello-world', '-');