You are viewing documentation about an older version (1.1.0). View latest version

snowflake.snowpark.functions.ascii

snowflake.snowpark.functions.ascii(e: ColumnOrName) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.1.0/src/snowflake/snowpark/functions.py#L996-L1000)

Returns the ASCII code for the first character of a string. If the string is empty, a value of 0 is returned.