i submit this question in VB(MS Databse) forum too.
I have data in txt file (al most 300 +/- rows)like this
Acct:001000,IMP,180 A: $23656.00 D: $56458.00
Acct:001100,EXP,403 B: $59555.00 E: $165879.00 G: $45565.00
I need to put these information in file like
001000,IMP,180,23656.00,,,56458,,,
001100,EXP,403,,59555.00,,,165879.00
Actualy every row have random information like first row only has 'A' and 'D' information while 2nd. roe has B,E and G. So if from A to E some thing missing it just put comma and space.
Also in every row there are random spaces between B: and $??? like B: 54300.00, i want to remove this space too. Could any body help me how to do that please ...?
Thanks in Advance.
Knowledge is a key of success.
I have data in txt file (al most 300 +/- rows)like this
Acct:001000,IMP,180 A: $23656.00 D: $56458.00
Acct:001100,EXP,403 B: $59555.00 E: $165879.00 G: $45565.00
I need to put these information in file like
001000,IMP,180,23656.00,,,56458,,,
001100,EXP,403,,59555.00,,,165879.00
Actualy every row have random information like first row only has 'A' and 'D' information while 2nd. roe has B,E and G. So if from A to E some thing missing it just put comma and space.
Also in every row there are random spaces between B: and $??? like B: 54300.00, i want to remove this space too. Could any body help me how to do that please ...?
Thanks in Advance.
Knowledge is a key of success.