kaven-basic - v6.0.0
    Preparing search index...

    Function ReplaceSymbols

    • Replaces Chinese symbols with English symbols or vice versa in the input string.

      Parameters

      • input: string

        The input string in which symbols will be replaced.

      • to: "en" | "zh"

        The target language for symbol replacement, either "en" for English or "zh" for Chinese.

      Returns string

      The input string with symbols replaced according to the target language.

      4.5.1

      2025-06-12