ES(
string:str
)
→ string
Returns the input string with escaped characters converted to literal characters.
Escape sequences are:
| \' | single quote |
| \" | double quote |
| \\ | backslash |
| \b | backspace |
| \n | new line |
| \r | carriage return |
| \t | horizontal tab |
| \nnn | octal value |
| \xn.. | hexadecimal value |
| \unnnn | Unicode code point (4 hex digits) |
| \Unnnnnnnn | Unicode code point (8 hex digits) |
Example:
Output(ES("a\r\nb") == ("a" + CRLF + "b"));
--> true