def get_prefix_list(self, rows, num_of_prefixes, delimiter):
        '''
        The function return a list with at most "num_of_prefixes" prefixes of values from "rows" to "prefix_list".
        A prefix of a value will be the prefix until the first dot in the value (including the dot).
        '''
        prefix_list = []
        # Looking for values with prefix that can be appended to the list
        for row in rows:
            if len(prefix_list) == num_of_prefixes:
                break
    
            value = row[COLUMN_INDEX_IN_ROW]
            pre = get_prefix(value, rows, prefix_list, delimiter)
            # pre will equal value if: value dont contain a dot, pre is in the list, pre is contained in an item in the list.
            if pre != value:
                prefix_list.append(f"{pre}.")
    
        return prefix_list

        The function return a list with at most "num_of_prefixes" prefixes of values from "rows" to "prefix_list".
        A prefix of a value will be the prefix until the first dot in the value (including the dot).
        
ASIM/dev/ASimTester/filteringTest/ASimFilteringTest.py