Skip to contents

Splits the string along the separator.

Usage

string_to_array(string = VARCHAR, separator = VARCHAR)

Arguments

string

VARCHAR

separator

VARCHAR

Value

VARCHAR[]

SQL examples

string_to_array('hello-world', '-')