def get_table(content):
    """Get header (list) and body (2d list) from input string"""
    content = content.replace('\r', '')
    rows = [row.strip().split('\t') for row in content.split('\n')]
    header = rows[0]
    header_length = len(header)
    body = [row[:header_length] for row in rows[1:] if len(row) >= header_length]
    return header, body