If filename is "abc.def.xyz", how do I get ".def.xyz" as extension and "abc" as stem. I understand boost::filesystem::stem/extension()
considers the right most "." as the delimiter between file name and extension. Can I somehow change it to left-most "." ?
Related question, but looking for answer with right-most "." boost filename extension with multiple "."