Function decodeEscapedWrapped

  • This function:

    1. Keeps regular spaces, only ' ', as they are.
    2. Converts \\n \\r and \\t to unescaped versions, \n \r \t.
    3. Converts Unicode escape sequences to their control characters.
    4. Converts \\' \\and \\\\" to their unescaped versions, ' ".
    5. If it is wrapped in "" double quotes, the double quotes will be trimmed.

    Parameters

    • str: string

    Returns string

Generated using TypeDoc