Escape/unEscape: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:


[[Category:Language Reference]]
[[Category:Language Reference]]
[[Category:Strings]]

Revision as of 18:58, 11 September 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