insert character every new line
BlitzMax Forums/BlitzMax Programming/insert character every new line
| ||
I have a csv file I would like to run through blitzmax and insert a character at the end of each line is this possible? |
| ||
Yes.. the simple version: open the file in read mode and another in write mode, read each line from the in file and write it to the out file with the added character. delete the original and rename the changed copy. |
| ||
wow i cant believe i didn't think of that thanks for showing me the obvious :) |