I have a tab delimited file that I am reading that now looks like this( I have managed to strip out all the rubbish):
I am stuck on how to compare field1 against field2. If field2 is larger than Field1 I need to print field1 through field2. ie:
0230
0231
0232
0233
544
545
546
Another issue is the Alpha character that is thrown in. If either field has an alpha charater(only the first character of either field will be) then I need to print field1 then field2 with an *.
A367*
0865*
This has been driving me crazy for 3 days! After the great help last time, figured I could muddle, but enough is enough...
Any help would be greatly appreciated.
Thanks in advance.
Andrea
Code:
0230 0233
544 546
0001 0050
A367 0865
0230
0231
0232
0233
544
545
546
Another issue is the Alpha character that is thrown in. If either field has an alpha charater(only the first character of either field will be) then I need to print field1 then field2 with an *.
A367*
0865*
This has been driving me crazy for 3 days! After the great help last time, figured I could muddle, but enough is enough...
Any help would be greatly appreciated.
Thanks in advance.
Andrea