Url comparison
Posted by
cedreek on
Dec 10, 2010; 3:41pm
URL: https://forum.world.st/Url-comparison-tp3082182.html
Hi,
I'd like to compare url's but it doesn't seem to work (as I expect - Pharo 1.1)
ex:
'
http://www.pharo-project.org' asUrl = '
http://www.pharo-project.org' asUrl. => false
What about having:
Url>> = anotherUrl
^self asText = anotherUrl asText
Do we need to redefine hash too ?
TIA
Cédrick