added string_in_list and string_match functions