URL - Maple Programming Help

URL

 Escape
 convert a string to a URL safe format

 Calling Sequence Escape(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.
 • The Unescape method will reverse this conversion, returning the original string.
 • 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] command was introduced in Maple 18.