snowflake.snowpark.functions.unicode¶
- snowflake.snowpark.functions.unicode(input_str: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns the Unicode code point of the first character in a string.
- Parameters:
input_str (ColumnOrName) – The input string column or string value to get the Unicode code point from.
- Returns:
The Unicode code point of the first character. Returns 0 for empty strings.
- Return type:
- Examples::