Trim the line according the charater count of the heading