From: "Marston A." Date: 2006-05-28T03:49:57+09:00 Subject: Basic ruby looping question I'm trying to do something regarding looping through an array, but only with elements I need. I'm not sure exactly how to go about it to make it the most efficient. Is there basically a way to do something like: for row in @large_row_array WHERE row.element == "something" ... some some stuff end What would be the best way to accomplish the above? Would I use perhaps some nested loops? Thanks for any help, I'm just getting started with Ruby along with more indepth programming in general and I'm loving it. -- Posted via http://www.ruby-forum.com/.