Mono Class Library: System.Uri Overview | Members

System.Uri.Unescape Method

Converts escape sequences in the specified string into their unescaped equivalents.

[System.Obsolete]
protected virtual string Unescape (string str)

Parameters

str
The string to unescape.

Returns

A string containing path with its escaped characters converted to their unescaped equivalents. If path is null or a zero-length string, returns string.Empty.

Remarks

Note:

Escape sequences can be hex-encoded reserved characters (for example "%40") or hex-encoded UTF-8 sequences (for example "%C4%D2").

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0