From: "hitesh.jasani@..." Date: 2006-02-28T14:13:35+09:00 Subject: Re: string contains one of these??? You've got a bunch of great answers already, but here's another option. leagues = %w(1D 2D U16 U19 LR RR JNL NL) words = "some stuff NL is chunky" irb(main):008:0> words.split & leagues => ["NL"] - Hitesh http://www.jasani.org/