Escape/unEscape: Difference between revisions
Jump to navigation
Jump to search
m Brendon moved page Escape to Escape/unEscape |
No edit summary |
||
Line 12: | Line 12: | ||
<pre> | <pre> | ||
Print Escape("ABC!@#$%") | |||
Print UnEscape("ABC%0d%0aDEF") | |||
</pre> | </pre> | ||
Revision as of 00:44, 24 August 2012
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