ES(
     string:str
)
string

Arguments

str

Input string containing escaped characters.

Return value

Output string containing literal characters.

Description

Returns the input string with escaped characters converted to literal characters.

Escape sequences are:

\'single quote
\"double quote
\\backslash
\bbackspace
\nnew line
\rcarriage return
\thorizontal tab
\nnnoctal value
\xn..hexadecimal value
\unnnnUnicode code point (4 hex digits)
\UnnnnnnnnUnicode code point (8 hex digits)

Example:

Output(ES("a\r\nb") == ("a" + CRLF + "b"));
--> true