@staticmethod
def split_prefix(key, prefixs):
    """
        split key string into prefix and remainder
        for first matching prefix from a list
        """
    key_upper = key.upper()
    for prefix in prefixs:
        if key_upper.startswith(prefix):
            plen = len(prefix)
            return key_upper[:plen], key[plen:]
