how to get a string from a substring in a file?
i have a text file. now i want to have the string which includes the substring .txt. how can i get it?
how to get a string from a substring in a file?
===

i have a text file. now i want to have the string which includes the substring .txt. how can i get it?