def split_param(string, sep=':'):
    """Split a key/value parameter by separator."""
    split = string.split(sep)
    for idx, item in enumerate(split):
        split[idx] = item.strip()
    return split
