From: newbie Date: 2006-05-24T06:13:46+09:00 Subject: Re: do i need a regex? >> would i need a regex > > You *could* use a regex but you don't *need* to if all you care about is > inclusion of that string. > > if line.include?('--null--') > > marcel marcel that worked perfectly thank you very much! :) -- Posted via http://www.ruby-forum.com/.