filename
File::filename
Returns the filename without the extension.
Declaration
static std::string filename(const std::string& filePath);
Parameters
Name |
Type |
Description |
---|---|---|
filePath |
const std::string& |
The path to the file to get the filename of. |
Returns
The filename of the file, without the extension.