unescape

unescape given string


Parameters

unescape string :string :literal :pathliteral

Attributes

json from a JSON-escaped string
xml from an XML document
html from an HTML document

Returns

  • :string
  • or  :nothing

Examples

copy
print unescape "a\\nb\\tc" ; a ; b c

copy
print unescape.json {a \"b\" c} ; a "b" c

copy
print unescape.html "a & b < c A" ; a & b < c A

Related