longest_ancestor_length(): use string_list_split()