From: Safas Khkjh Date: 2010-06-23T18:23:56+09:00 Subject: Iterate over specific keys in a hash Hi, I have a hash; cars{ "car0" => "bmw", "car1" => "seat", "car3" => "mercedes", "car4" => "renault"} What I want is to extract just the values of car0 and car3. Is there a way instead of doing cars.each_value of doing cars.each_value[0,3]? Thank you in advance. Ryan -- Posted via http://www.ruby-forum.com/.