def shift_string_fields(fields, n):
    """
    Process n string fields and convert to None if they're empty
    """
    for _ in range(n):
        s = next(fields)
        yield None if s == '-' else s
