HTTP/URLParse - 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


Home : Support : Online Help : HTTP/URLParse

HTTP

  

URLParse

  

Parse a URL into its components

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

URLParse(s)

Parameters

s

-

string

Description

• 

URLParse converts a URL string of the form scheme://user:password@host:port/urlpath?query#anchor into a table with keys named according to that template.

Examples

HTTP:-URLParsescheme://user:password@host:port/urlpath?query#anchor

tableport=port,urlpath=/urlpath,host=host,user=user,anchor=anchor,query=?query,scheme=scheme,password=password

(1)

HTTP:-URLParsehttp://www.maplesoft.com/

tableurlpath=/,host=www.maplesoft.com,scheme=http

(2)

Compatibility

• 

The HTTP[URLParse] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

HTTP

HTTP/URLDecode

HTTP/URLEncode