I am parsing a text file that looks something like this:
a1 a2 a3 b1 b2 b3
a1 b1 b2
a1 a2 b1
Basically what I want to end up with is each column in its own string. I’m pretty sure there is an obvious answer to this but I think I’ve been staring at the screen too long….
Thanks in advance!
This is the second time this has happened to me in the last couple of days. I’ve managed to solve my own problem…
The text layout is effectively fixed – the “second half” of the line always starts at character 31 and so you can simply split at that point and then parse each side individually.
Thanks all for answering!