Escape/unEscape: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
m Brendon moved page Escape to Escape/unEscape
Brendon (talk | contribs)
No edit summary
Line 12: Line 12:


<pre>
<pre>
PRINT ESCAPE("ABC!@#$%")
Print Escape("ABC!@#$%")
PRINT UNESCAPE("ABC%0d%0aDEF")
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