def split_string_with_commas(value):
    """
    Splits a passed value to a list. The comma is delimiter.
    Note all whitespaces will be removed before the splitting.

    Example:
        incoming value "a, b, c"
        output value ["a", "b", "c"]
    """

    return value.replace(" ", "").split(",") if value else []