unescapeValue

Unescapes string. You should unescape values returned by library before displaying until you want keep them as is (e.g., to allow user to edit values in escaped form).

@trusted nothrow pure
string
unescapeValue
(
string value
)

Return Value

Type: string

Unescaped string.

Examples

assert(`a\\next\nline\top`.unescapeValue() == "a\\next\nline\top"); // notice how the string on the left is raw.

See Also

escapeValue

Meta