Skip to main content

CommonStringSubstitute

Callable

  • CommonStringSubstitute(msg, substitutions): string

  • Performs the required substitutions on the given message


    Parameters

    • msg: string

      The string to perform the substitutions on.

    • substitutions: CommonSubtituteSubstitution[]

      An array of [string, replacement, replacer?] subtitutions.

    Returns string