src/Utilities.cpp
void RemoveExtension (std::string& path)
{
    std::string::size_type dotPos = path.rfind('.');
    if (dotPos != std::string::npos)
        path.erase(dotPos);
}
// Removes everything after the last dot, the dot including
Removes everything after the last dot, the dot including
Removes everything after the last dot the dot including
void RemoveExtension (std::string& path)
{
    std::string::size_type dotPos = path.rfind('.');
    if (dotPos != std::string::npos)
        path.erase(dotPos);
}
void RemoveExtension ( std :: string & path ) { std :: string :: size_type dotPos = path . rfind ( ' ' ) ; if ( dotPos != std :: string :: npos ) path . erase ( dotPos ) ; }
Removes everything after the last dot, the dot including
Removes everything after the last dot the dot including