I am working on a project for read text files and remove headers, footers and also, save footers and use as a folder name.Now my question is "How can I get the last line from the text file(as a footers) and save into the variable?"
I can search the footers but can't save the value into variable.