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 just adding a carrage return every 80 characters.
Opening the files I've done before but can I get som guidence on parsing out 80 characters putting them in the other file then grabbing the next 80 characters? I don't know where to begin.
Thanks
Opening the files I've done before but can I get som guidence on parsing out 80 characters putting them in the other file then grabbing the next 80 characters? I don't know where to begin.
Thanks