Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Chapter 10. The Language Reference > VarType Function - Pg. 425

Unescape function Syntax Unescape(string) string Reference Use: Required Data Type: String An encoded string Return Value Description A string variant containing the decoded version of string . Decodes a URL-encoded or HTML-encoded string. Rules at a Glance Replaces all encoded characters with their corresponding characters. Encoded values in the form of %xx are replaced with their corresponding ASCII characters, while values in the form %uxxxx are replaced with their corresponding Unicode characters. Programming Notes · The Unescape function is not documented in the VBScript documentation. · The function corresponds to the JScript Unescape method. · If string has no encoded characters, the function merely returns string unchanged. · All encoded characters in the form %xx are replaced with their equivalent ASCII strings.