def convert_string_to_list(value, delimiter):
    """
    Splits a string using the provided delimiter.

    Parameters:
        value (str): string to be split.
        delimiter (str): delimiter used to split the string.

    Returns:
         list: a string converted to a list.

    """

    try:
        return value.split(delimiter)
    except AttributeError:
        return value