Hi -- On Sun, 7 Nov 2004, trans. (T. Onoma) wrote: > I wonder if any one has ever noticed the "order" discrepancy that exists > between String#<=> and String#succ. One consequence: > > irb(main):001:0> a = 'a'..'b' > => "a".."b" > irb(main):002:0> a.include?('aa') > => true I think that I've seen examples like this brought up occasionally: irb(main):007:0> 'z'.succ > 'z' => false :-) > Also I'd like to know what others are doing with string ranges. If you've used > a string range in a serious way I'd like to know how --I'm trying to get a > impression of their over all usability. I've mainly used them for: ('a'..'z').to_a and similar things. David -- David A. Black dblack / wobblini.net