Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[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: