|Thank you very much, IVO.|
The data length of runno is 6
total of runno is 28, how to replace the run no = 000028
The final outcome must be the following, then copy this newline to another file ---> myfile2.txt in the last line.
1) How to replace the runno with that format?
2) How to copy the newline to the last line in a myfile2.txt?