def clean_chars(value, cleanchars):
    """ Remove chars for cleaning
    :param value: String to be cleaned
    :param cleanchars: Characters to remove from value

    :return value: Cleaned string
    """

    for char in cleanchars:
        value = value.replace(char, '')

    return value