From: "Peña, Botp" Date: 2008-04-15T16:23:55+09:00 Subject: Re: noob 'why doesn't this work' question From: Paul [mailto:Paul.McArdles@gmail.com] # irb(main):001:0> a = [0,1,2,3,4,5,6] # => [0, 1, 2, 3, 4, 5, 6] # irb(main):002:0> b = [3,4,6] # => [3, 4, 6] # irb(main):003:0> c = a - b # => [0, 1, 2, 5] Hi Paul, the op meant that the array b contains indexes for a (and not contents as in your example) kind regards -botp