Is this possible to check for two strings. i want to check whether these two params exits i want to proceed the process i get two strings through form search_string_1 = params[:first_name] search _string_2 = params[:second_name] if folder_name.include?(search_string_1)(search_string_2) end Any helps pls -- Posted via http://www.ruby-forum.com/.