From: Dave Thomas Date: 2001-11-09T08:42:35+09:00 Subject: [ruby-talk:24711] Re: Strange behaviour of Array#[] Michael Neumann writes: > Why does a[3,1] returns [] instead of nil? I believe it's for consistency with Strings: irb(main):001:0> a = "cat" "cat" irb(main):002:0> a[2,1] "t" irb(main):003:0> a[3,1] "" irb(main):004:0> a[4,1] nil There was a thread a long, long time ago where this was explained as being rational, and everyone nodded... Dave