On Sat, Jan 21, 2012 at 10:03 PM, josh smith <use_this_123 / hotmail.com> wrote:
>> I hope this helps
>>
>> Stefano
>
> It does. Thank alot!

Maybe you want to check whether there is any string which contains the
sequence "recycle".  Then you can do:

irb(main):003:0> ["recycler"].any? {|s| s.include?("recycle")}
=> true

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/