On Nov 15, 2007 5:59 PM, Nadeesha Meththananda > my_array = ["one","two","three","four"] > no i want to check a given string is can be found from the above array. many ways try, ~> my_array.index "five" => nil ~> my_array.include? "five" => false ~> my_array.any?{|e| e== "five"} => false i like index since it's fast and it also returns the position if found. wish include? would do that too. anyway, all of those meth above has its unique advantage though. eg, with any?, you can do fancy search... kind regards -botp