Function mrpt::system::extractFileName

Function Documentation

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

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