From: "Sandor Szücs" Date: 2008-07-03T02:09:34+09:00 Subject: Re: Ranges and Enumerable problems Hi, As David wrote before, have a look at the Ascii-Table. On 02.07.2008, at 16:48, Glen Holcomb wrote: > Okay so when I play with "!".."~" wrong things happen. irb(main):002:0> "!"[0] => 33 irb(main):003:0> "~"[0] => 126 > > ("!".."~").include?("W") > true irb(main):001:0> "W"[0] => 87 > > ("!.."~").include?(" ") > false $ irb irb(main):001:0> " "[0] => 32 32 is not between 33 and 126, so include?() does it right. hth. regards, Sandor Szücs --