from io import StringIO
import csv


def load_csv(text, delimiter=";"):
    """ Load a csv.

    Parameters
    ----------
    text: string (mandatory)
        the csv text.

    Returns
    -------
    csv_lines: list
        a list containing all the csv lines.
    """
    csv_stream = StringIO(text)
    reader = csv.reader(csv_stream, delimiter=delimiter)
    csv_lines = [line for line in reader]

    return csv_lines