This is an example of the text that I need to manipulate:
YEAR (space) MONTH (space) NAME (space)
YEAR (space) MONTH (space) NAME (space)
YEAR (sapce) MONTH (space) NAME (space)
YEAR (sapce) MONTH (space) NAME (space)
…
How would one go about creating an array using only the values in one column? e.g the second column (months) or the last column (names)
read each line and split on space, and reformat the array..
read each line and use a substring to add to the array..
read each line and use regular expression..