I have an array of strings:
string_array = ['memberid', 'membershiptype', 'date']
Now I need to check whether or not this array contains 'id', and I want it to return true.
I know I can do string_array.include? 'memberid', but I need to find a substring within that string of 'id'.