Skip to content

unescape

Category: String

Unescapes special characters in the input string for the specified format

  • Return type: string
  • Parameters:
    • format string — Unescape format (‘html’, ‘json’, ‘xml’)
'<tag>'.unescape('html')
'\"text\"'.unescape('json')