ESCAPE                                                                 Function

ESCAPE(string)

UNESCAPE(string)

Description

ESCAPE returns a string with all special characters turned into a % character followed by the hex value of the character

UNESCAPE converts a string with special characters turned into a normal string.

 

Example

PRINT ESCAPE("ABC!@#$%")

PRINT UNESCAPE("ABC%0d%0aDEF")

Output

ABC%21@%23%24%25

ABC

DEF

Related Items

UNESCAPE