Function escape

  • Escapes special characters in the given string

    Parameters

    • str: unknown
    • inQuotes: boolean

    Returns string