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

[REBOL] Tank you all, i will use decode-url

From: blackeye::svk::subdimension::com at: 14-Nov-2002 15:25

> Hello, i am new to rebol and i have a parsing problem. If > somebody could help me, i'd be grateful. Here is the code > : url: "www.asdfasdf.com:123/path/path/file.htm" > parse/all url [ copy host [ [to ":" skip copy port to "/" > ] | [ to "/"]] copy path to end ] > the goal is to have the words: > host = www.asdfasdf.com > port = 80 > path = path/path/file.htm > > but the host word get the value: www.asdfasdf.com:80 > > I tried many thins but i have now no idea of the solution. > > Tank you > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes. >
_____________________________________________________________________ // free anonymous email || forums \\ subZINE || anonymous browsing subDIMENSION -- http://www.subdimension.com