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