[REBOL] Re: Parsing problem
From: tomc:darkwing:uoregon at: 13-Nov-2002 22:15
one way that does not use parse
>> ? url
Found these words:
decode-url (function)
purl (object)
to-url (function)
url! (datatype)
url? (action)
>> u: "www.asdfasdf.com:123/path/path/file.htm"
== "www.asdfasdf.com:123/path/path/file.htm"
>> v: copy/part u find u ":"
== "www.asdfasdf.com"
>> w: decode-url u
>> type? w
== object!
>> probe w
make object! [
user: none
pass: none
host: "123"
port-id: none
path: "path/path/"
target: "file.htm"
]
On Thu, 14 Nov 2002, Blackeye Silverseeker wrote: