From: Tim Bates Date: 2002-11-27T20:18:15+09:00 Subject: Re: set operation On Wed, 27 Nov 2002 09:41 pm, Shannon Fang wrote: > if ([string] & array_of_strings).length!=0 then.... I don't know what 'in' is used for, but another way to do this might be if [array_of_strings].index(myString) then... String#index returns nil if myString is not in array_of_strings. Tim Bates -- tim@bates.id.au