Rebol Programming/decode-url

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]


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." 
    /local purl
    purl: context [user: pass: host: port-id: path: target: none] 
    parse-url/no-error purl url