I'm searching for some wisdom in regards to string parsing.
the above are examples of a file I'm trying to parse, my question is in regards to number of spaces between the first and second column. I tried to use split but then the location of the second column changes when white space count differs. Any idea on how to approach this?1 1234 gg123456789 000-12345-1234-111 12 1234 gg123456789 000-12345-1234-111 123 1234 gg123456789 000-12345-1234-111
Thanks in advance
update (broquaint): tidied up formatting
20031125 Edit by BazB: Changed title from 'Seeking best approach'
In reply to Seeking best approach to column parsing by vivapl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |