translate
Replaces individual characters with other individual characters.
Arguments
- Input string.
- Characters to replace as a string.
- Replacement characters as a string.
Examples
Expression | Result |
---|---|
translate("abcde", "ace", "123") | "1b2d3" |
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!