HTTP/URLParse - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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:-URLParse⁡scheme://user:password@host:port/urlpath?query#anchor

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

(1)
> 

HTTP:-URLParse⁡http://www.maplesoft.com/

table⁡host=www.maplesoft.com,urlpath=/,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