Question: How would I go about using java to read this text file line by line, and parse the information in the lines into columns? The
How would I go about using java to read this text file line by line, and parse the information in the lines into columns? The information needs to output to the correct column for towns, dates, et cetera when there are variable number of words on each line (for instance: Person Names with First and Last vs First, Middle, and Last).
Bangor 02/10/17 Orono 02/10/17 Bangor 02/11/17 Calais 02/11/17 Calais 02/11/17 Bangor 02/12/17 Bangor 02/13/17 Orono 02/13/17 Orono 02/13/17 Calais 02/13/17 Orono 02/14/17 Bangor 02/14/17 24.7 23.65 NW 22.0 25.1 25.75W 21.9 28.5 26.85 N 26.9 23.15 N 28.6 21.75E 3.5 3.7 3.3 3.9 3.1 3.8 3.1 3.2 3.1 3.7 3.1 3.6 Pauline Stinson Suan Speller Tom McBride Penny Jane Thomas Xang Xao Hillary Tines Theresa Sanborn Owen Mark Prentiss Isaac Short Xang Xao Isaac Short Jeff Byron NE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
