Siebel eScript Language Reference > Siebel eScript Commands > Conversion or Casting Methods >
The unescape() method removes escape sequences from a string and replaces them with the relevant characters.
A string literal or string variable from which escape sequences are to be removed
A string with Unicode sequences replaced by the equivalent ASCII characters.
The unescape() method is the reverse of the escape() method; it removes escape sequences from a string and replaces them with the relevant characters.
The following line of code displays the string in its parameter with the escape sequence replaced by printable characters. Note that
%20 is the Unicode representation of the space character. Note also that this example would normally appear on a single line, as strings cannot be broken by a newline.
The code produces the following result.