Escape/unEscape: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "ESCAPE(''string'') UNESCAPE(''string'') '''Description''' ESCAPE returns a string with all special characters turned into a % character followed by the hex value of the cha...")
 
No edit summary
Line 1: Line 1:
ESCAPE(''string'')
Escape(''string'')


UNESCAPE(''string'')
unEscape(''string'')


'''Description'''
== Description ==


ESCAPE returns a string with all special characters turned into a % character followed by the hex value of the character
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.
unEscape converts a string with special characters turned into a normal string.


'''Example'''
== Example ==


<pre>
<pre>
Line 16: Line 16:
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
Line 24: Line 24:
</pre>
</pre>


'''Related Items'''
[[Category:Language Reference]]
 
[[unescape|UNESCAPE]]

Revision as of 21:04, 8 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