Using the tab method worked a treat. I was able to use the $mid function to get the bits that I needed rather easily given that the tab character is unique within each line. Thanks for the tip.

Regards
Nigel / Nelgin