Hello, I have a problem with a code.
First of all I have two .txt files, file1.txt and file2.txt. my problem is how to replace one line from one .txt with a line from another .txt file
I am uploading the two files in order to understand what I want to do. in these files, I would like to replace line 3 from File2 once with the first line of File1, once with the second line of file1 and once with the third line of File1.
I have to mention that i use readfile('File2.txt') in order to read this file.