I have 2 strings like this:
In these 2 cases I want to get "File1.txt" and "File2.txt" and put them to a string.
I need the same method so I suppose I have to find the Last "/" in the string and then
put the rest to a new string.
What method and approach can be used to do this ?
std::string Line1 = "c:\Folder1\File1.txt"; std::string Line2 = "c:\Folder1\Folder2\File2.txt";