Skip to main content Skip to complementary content
Close announcements banner

translate

Replaces individual characters with other individual characters.

Arguments

  1. Input string.
  2. Characters to replace as a string.
  3. 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!