From: 7stud -- Date: 2008-04-11T19:20:59+09:00 Subject: Re: Match string from possible strings John Butler wrote: > Hi, > If "Test" (matches either of the following) string1, string2, string3 > route a > else > route b > end > > Anyone know the quick way? > > JB if [string1, string2, string3].include?('Test') -- Posted via http://www.ruby-forum.com/.