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