URL - Maple Programming Help

URL

 Escape
 convert a string to a URL-safe format
 Unescape
 convert a string from a URL-safe format

 Calling Sequence Escape(s) Unescape(s)

Parameters

 s - string

Description

 • Escape converts a string into a URL-safe format by escaping unsafe characters. Escaping a string is often necessary if the string is going to be passed as part of a URL.
 • Unescape converts a string in an escaped, URL-safe, format back to a string. It reverses the conversion performed by Escape.
 • The Post method will automatically escape the given content if necessary.

Examples

 > $\mathrm{URL}:-\mathrm{Escape}\left("Hello World!"\right)$
 ${"Hello%20World%21"}$ (1)
 > $\mathrm{URL}:-\mathrm{Unescape}\left("Hello%20World%21"\right)$
 ${"Hello World!"}$ (2)

Compatibility

 • The URL[Escape] and URL[Unescape] commands were introduced in Maple 18.
 • For more information on Maple 18 changes, see Updates in Maple 18.