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(`\\next\nline`.unescapeValue() == "\\next\nline"); // notice how the string on the left is raw.

See Also

escapeValue

Meta