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

[REBOL] URL comparisons

From: hallvard::ystad::helpinhand::com at: 7-Apr-2003 19:34

Hi Does anyone know how to get _both_ these comparisons to yield true?
>> http://www.uio.no/ = http://www.uio.no/
== true
>> http://www.uio.no/ = http://www.uio.no
== false So far, I've had to do like this:
>> difference parse http://www.uio.no/ ":/" [""]
== ["http" "www.uio.no"]
>> difference parse http://www.uio.no ":/" [""]
== ["http" "www.uio.no"] which yields the same block. But I'd really like a shorter way to do it. All tips are welcome. ~H