from typing import List


def string_to_list(string: str) -> List[str]:
    """
    Converts a comma separated string to a list of strings
    also removes leading or trailing spaces from each element in list.

    :param string: string which is to be converted to list
    :return: list of strings
    """
    return [elem.strip() for elem in string.split(",")]