pub fn translate<T: OffsetSizeTrait>(args: &[ArrayRef]) -> Result<ArrayRef>
Expand description

Replaces each character in string that matches a character in the from set with the corresponding character in the to set. If from is longer than to, occurrences of the extra characters in from are deleted. translate(‘12345’, ‘143’, ‘ax’) = ‘a2x5’