From: Ben Tilly Date: 2000-12-17T04:42:16+09:00 Subject: [ruby-talk:7465] Re: question: 'A'..'k' "Joseph McDonald" wrote: > > >It looks like ranges can't "jump" from uppercase to lowercase. >So it gets all the way to Z and hits the brick wall. >perl has the same "feature": >for("A".."k") { > print "$_ "; >} >=> A B C D E F G H I J K L M N O P Q R S T U V W X Y Z > I would assume that is because both Perl and Ruby use the same string incrementing algorithm. See http://www.rubycentral.com/ref/ref_c_string.html#succ Cheers, Ben _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com