| getExt {reposTools} | R Documentation |
Return the file extension.
getExt(path)
path |
What to get the extension of |
character. The extension.
S. Falcon
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (path)
{
parts <- strsplit(path, "\.")[[1]]
last <- parts[length(parts)]
last
}