G
Guest
I am trying to open two text files and write from one to the other changing
the format as I do it. The file I open to pull from has one long string of
data of indeterminate length. It can vary with each file. I want to open the
first file, pull the first 80 characters and put them on the first line of
the second file. Then grab the next 80 characters of the first file and put
them on the second line of second file. And so on until I am at the end of
the record of the first file. Or maybe its possible to just open the first
file and place a carrage return every charaters?
Any thoughts and/or help is greatly appreciated.
the format as I do it. The file I open to pull from has one long string of
data of indeterminate length. It can vary with each file. I want to open the
first file, pull the first 80 characters and put them on the first line of
the second file. Then grab the next 80 characters of the first file and put
them on the second line of second file. And so on until I am at the end of
the record of the first file. Or maybe its possible to just open the first
file and place a carrage return every charaters?
Any thoughts and/or help is greatly appreciated.