From: Adgar Marks Date: 2008-08-20T02:57:06+09:00 Subject: Re: Find element in array of hashes Dear Robert, I read your answer and also tried it! If it would have been a simple Array, then i wouldnt have need to ask it in the forum, because it is trivial. Example from http://www.ruby-doc.org/core/ a = [ "a", "b", "c" ] a.include?("b") #=> true a.include?("z") #=> false I read your remark: "But note that this is inefficient if you have multiple entries in both arrays." whic is exaclty my case, which i tried to explain my writing: _FilesData << { :FileName => splitLine[8] , :Year => year , :Month => month , :Day => day , :Suffix => suffix , :JDay => jday , :Size => splitLine[4].to_i } i thought i explained my problem clearly, that my arrays are multidimentions, by writing that they dont have the same size and explain the structre of each Array of hashes. I am not a Ruby expert and neither an expert programer, that is why i am asking for help. Thnaks -- Posted via http://www.ruby-forum.com/.