def ci_rm_row(data, ident):
    """Case insensitive removal of a row contained in data

    Parameters
    ----------
    ident: str
        Lines starting with this string are removed
    """
    data = data.split('\n')
    newdata = []
    for ii in range(len(data)):
        if not data[ii].lower().startswith(ident.lower()):
            newdata.append(data[ii])
    return '\n'.join(newdata)
