Jump to content

Rebol Programming/decode-url

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
DECODE-URL url 

DESCRIPTION:

[edit | edit source]

Decode a URL into an object.

DECODE-URL is a function value.

ARGUMENTS

[edit | edit source]
  • url -- (Type: any)

SOURCE CODE

[edit | edit source]
decode-url: func [
    "Decode a URL into an object." 
    url 
    /local purl
][
    purl: context [user: pass: host: port-id: path: target: none] 
    parse-url/no-error purl url
]