From: matz@... (Yukihiro Matsumoto) Date: 2003-02-13T12:39:33+09:00 Subject: Re: Range#length? Hi, In message "Re: Range#length?" on 03/02/13, ahoward writes: | ( 'abc' .. 'abf').each do |word| | p word | end | |should, IMHO, output | | 'abc' | 'abd' | 'abe' | 'abf' | |which CAN be accomplished using succ, but breaks when the starting string |cannot reach the ending string. so, here is my suggestion : Range uses String#upto which terminates loop when generated string is longer than endpoint string. matz.