JavaScript unescape Function

By Mash B

unescape function searches for two and four digit hexidecimal escape sequences in a given string and replaces them with equivelent string .

Ex:

document.write(unescape("Welcome%20to%20EggHeadCafe%21"))

Output:
Welcome to EggHeadCafe

JavaScript unescape Function  (823 Views)