snowflake.snowpark.functions.split¶
- snowflake.snowpark.functions.split(str: Union[Column, str], pattern: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/functions.py#L3251-L3300)¶
Splits a given string with a given separator and returns the result in an array of strings. To specify a string separator, use the
lit()function.Example 1:
Example 2: