From: Robert Klemme Date: 2006-05-24T18:29:16+09:00 Subject: Re: do i need a regex? 2006/5/23, newbie : > >> 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 I'm surprised: in your original posting you mentioned the string "--(null)--" which is somewhat different from "--null--"... robert -- Have a look: http://www.flickr.com/photos/fussel-foto/