snowflake.snowpark.functions.ascii¶
- snowflake.snowpark.functions.ascii(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/functions.py#L2641-L2653)¶
Returns the ASCII code for the first character of a string. If the string is empty, a value of 0 is returned.
Example: