contents   index   previous   next



global.unescape()

syntax:

unescape(str)

where:

str - holding escape characters.

 

return:

string - with escape characters replaced by appropriate characters.

 

description:

This method is the reverse of the global.escape() method and removes escape sequences from a string and replaces them with the relevant characters. That is, an encoded string is decoded.

 

see:

global.escape(), String unescape()

 

example:

unescape("Hello%20there%21");

// Returns "Hello there!"

 


global.undefine()