split(value: string, separator: const string) -> array of string

Splits the string into an array, based on the separator.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

make_col date_parts:split("2024-04-05", "-")

This splits the given string by dashes, returning a JSON array of the elements: ["2024", "04", "05"].