Split a string of comma separated words.

def split_task_parameters(line):
    """ Split a string of comma separated words."""
    if line is None:
        result = []
    else:
        result = [parameter.strip() for parameter in line.split(",")]
    return result