This is a complimentary question to:
How to build a full path string (safely) from separate strings?
So my question, how to split a path into separate strings in a cross platform manner.
This solution, using Boost.Filesystem is very elegant and Boost must have implemented some splitPath() function. I couldn't find any.
Note: bear in mind that I can do this task myself but I'm more interested in a closed box solution.