snowflake.snowpark.functions.translate¶
- snowflake.snowpark.functions.translate(src: ColumnOrName, source_alphabet: ColumnOrName, target_alphabet: ColumnOrName) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L2028-L2052)¶
Translates src from the characters in source_alphabet to the characters in target_alphabet. Each character matching a character at position i in the source_alphabet is replaced with the character at position i in the target_alphabet. If target_alphabet is shorter, and there is no corresponding character the character is omitted. target_alphabet can not be longer than source_alphabet.
Example: