From: Simon Harrison Date: 2011-04-02T06:05:30+09:00 Subject: Re: Searching a CSV file - beginner seeking help Got it! def search_for_film print "Enter name of film to search for: " film = gets.chomp.downcase results = @films.grep(/#{film}/) if results puts results menu elsif results.empty? puts "Nothing found." menu else menu end end -- Posted via http://www.ruby-forum.com/.