Description:
A character that invokes an alternative interpretation on certain characters in a string.
Syntax:
\s
Note:
The characters such as \ (not an escape character, simply a backslash), ", ', newlines, etc., need an alternative interpretation when used in a string, or they will be misunderstood.
The double quotation marks in $[string] do not need the escape character; while the double quotation marks in "string" need one.
esProc supports applying “\” to the following characters:
\t
\r
\n
Parameter:
s |
The character that needs an alternative interpretation, such as \ (not an escape character, simply a backslash), ", ', newlines, etc |
Return value:
A string of escaped character
Example:
Common examples:
"\\" |
Backslash |
"\n" |
Newline |
Double quotes in $[] do not need an escape character, while double quotes in "" do.
$[a"s] |
"a\"s" |
Related function: