getExtension {utilitiesR} | R Documentation |
get the extension of a path
getExtension(path, preserveCase = FALSE)
path |
the path to get the extension of |
preserveCase |
boolean, default FALSE. Whether or not to preserve the case of the extension. If FALSE, returns lowercase. |
the extension of the path, being the text from the last '.' to the end. If no extension, returns ”.
Other file: createFilename
,
dir.browse
, file.browse
,
getFilename
,
getUniqueFilename
,
makeIfNotExists