snowflake.snowpark.functions.strtok_to_array¶
- snowflake.snowpark.functions.strtok_to_array(text: ColumnOrName, delimiter: ColumnOrName | None = None) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L1691-L1711)¶
Tokenizes the given string using the given set of delimiters and returns the tokens as an array.
If either parameter is a NULL, a NULL is returned. An empty array is returned if tokenization produces no tokens.
- Example::