Topic: is it possible to search for a string in an array without iterating?
Say A = ["hello", "ruby", "world"]
Is it possible to find out if the string "rub" exists in A without iterating through each element? For e.g. something similar to A.include?("ruby")