URL
Parse
parse a URL into its components
Calling Sequence
Parameters
Description
Examples
References
Compatibility
Parse(s)
s
-
string, a URL to parse
Parse parses a URL into a table of its component parts.
A URL of the form scheme://user:password@host:port/urlpath?query#anchor will be split into the following components.
scheme: The specified protocol (i.e. http, ftp, etc.)
user The username, if specified
password The password, if specified
host The specified host (i.e. www.maplesoft.com)
port The port, if specified
urlpath The path on the host to access
query Query data, if specified
anchor An anchor, if specified
The Construct method performs the reverse operation, constructing a URL from given components.
URL:-Parse⁡scheme://user:password@host:port/urlpath?query#anchor
table⁡user=user,scheme=scheme,port=port,urlpath=/urlpath,anchor=anchor,host=host,password=password,query=?query
URL:-Parse⁡http://www.maplesoft.com/
table⁡scheme=http,urlpath=/,host=www.maplesoft.com
RFC 3986: Uniform Resource Identifier (URI), W3C.
The URL[Parse] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
URL/Construct
URL/Escape
URL/Unescape
Download Help Document