alwayshouston
MIS
Hi All
How would I delete first two rows of the text file and save text file with other name. For example, I have a text file test1.txt located in C:\Temp\ with below text
Cusip Description1 Net
Return
12533 Fund 1 .0526
12453 Fund 2 .0587
I know the code for reading and writing to text file, but I dont know the code how to delete a row from a text file and saving it. As you can see from above text example, the first two line of the are not delimited corrected, but the data section is space delimited.
Thanks in advance!
How would I delete first two rows of the text file and save text file with other name. For example, I have a text file test1.txt located in C:\Temp\ with below text
Cusip Description1 Net
Return
12533 Fund 1 .0526
12453 Fund 2 .0587
I know the code for reading and writing to text file, but I dont know the code how to delete a row from a text file and saving it. As you can see from above text example, the first two line of the are not delimited corrected, but the data section is space delimited.
Thanks in advance!