Function mrpt::system::extractFileDirectory

Function Documentation

std::string mrpt::system::extractFileDirectory(const std::string &filePath)

Extract the whole path (the directory) of a filename from a complete path plus name plus extension. This function works for either “/” or “" directory separators.