Escape - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


URL

  

Escape

  

convert a string to a URL-safe format

  

Unescape

  

convert a string from a URL-safe format

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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

URL:-EscapeHello World!

Hello%20World%21

(1)

URL:-UnescapeHello%20World%21

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.

See Also

StringTools,Encode

URL

URL,Construct