def parse_line(line):
    """Takes a string assumed to be in the format:
        
        <long string>,<char>
    
    Splits on the comma and returns the substrings.
    """
    s, c = line.split(',')
    return s.strip(), c.strip()