I will have a deeper look into it an give it a try.
If the sample you posted is representative of your data, the script I posted above should do the job for you.
That said, if you are regularly working with fixed record length files getting familiar with pack/unpack will save you heaps of time in the long run.
In reply to Re^3: Replacing spaces
by BrowserUk
in thread Replacing spaces
by apachi15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |