in reply to Text File Parsing.

Thank you to all those who replied.

Both proposed solutions worked well, with slightly different outputs.

Thanks again!