translate
function
December 12, 2024
Applies to: Databricks SQL
Databricks Runtime
Returns an expr
where all characters in from
have been replaced with those in to
.
Arguments
expr
: ASTRING
expression.from
: ASTRING
expression consisting of a set of characters to be replaced.to
: ASTRING
expression consisting of a matching set of characters to replacefrom
.