Applies to: Databricks SQL Databricks Runtime
expr where all characters in
from have been replaced with those in
expr: A STRING expression.
from: A STRING expression consisting of a set of characters to be replaced.
to: A STRING expression consisting of a matching set of characters to replace
The function replaces all occurrences of any character in from with the corresponding character in to.
to has a shorter length than
from unmatched characters are removed.