import csv
from io import StringIO


def create_list(string):
    """
    Creates a list from a string of the form [A, B]

    :param string: string to convert to list
    :return: list
    """

    contents = csv.reader(StringIO(string[1:-1]), delimiter=',', quotechar='\"')

    lst = []
    for item in contents:
        lst.extend([val.strip() for val in item])

    return lst