[Solved] Making filename remain from path in boost [closed]


You don’t need Boost:

std::string str = "data/lib/blahblah.lua";
std::string filename(str, str.find_last_of("https://stackoverflow.com/")+1);

0

solved Making filename remain from path in boost [closed]