From: Jason Peterson Date: 2012-06-23T00:37:22+09:00 Subject: Reading only certain rows of data from a text file Hi Everyone, My name is Jay, I'm new to the forum as well as fairly new to Ruby. I am writing a program with File.open to read a text file, however need help on a code that would only read certain rows of this large file. I am basically only trying to get the rows where the first column has 'cdtr' (example) in the data field. I appreciate any help on this and thank you in advance. Jay -- Posted via http://www.ruby-forum.com/.