Rose::StringUtility::fileNameSuffix¶
Get the file name suffix (extension) without the leading dot.
Synopsis¶
Declared in <src/Rose/StringUtility/FileUtility.h>
[[visibility("default")]]
std::string
fileNameSuffix(std::string const& fileName); Description¶
Filename can include a path. Only dots in the last path component count; without one, the original input is returned unchanged.
Return Value¶
Suffix without the leading dot.
Parameters¶
| Name | Description |
|---|---|
| fileName | Input path or filename. |
Created with MrDocs