Skip to main content Skip to complementary content

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 – please let us know!