I have a txt file which is a report that I download from a web.
The thing is that it contains 3 lines, which change dynamically, but there are always 3 lines and then the rest of the report I need, which has the headers and the information separated by commas.
Here I leave an example screenshot. The white box is what should be deleted, but that information changes dynamically (date and name of the report)
I tried deleting using “split”, but it didn’t work for me.
welcome to the UiPath Forum, Based on your statement I assumed your structed data will be always available on 4th line, If so I have developed a xaml file for your requirement so please download the same, try out it
It didn’t work. If you delete the first 3 lines of the file, but down it only considers around 100 records (line breaks) and the report has more than 7000 records, then I lose more than 90% of the information…
How did you check it? If use Messaebox, it may be limitation of Mssagebox.
Can you try the following sample? This remove the first 3 lines then write it to “result.txt”. Can you check it?