Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Global Object >
unescape(string) Method
The unescape() method removes escape sequences from a string and replaces them with the relevant characters.
Syntax
unescape(string)
Parameter Description string A string literal or string variable from which escape sequences are to be removedReturns
A string with Unicode sequences replaced by the equivalent ASCII characters.
Usage
The unescape() method is the reverse of the escape() method; it removes escape sequences from a string and replaces them with the relevant characters.
Example
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.TheApplication().RaiseErrorText(unescape("http://obscushop.com/ texis/%20%20showcat.html?catid=%232029&rg=r133"));
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |