Description Usage Arguments Value See Also Examples
Replaces, adds or removes (rm) extensions from filenames or test whether
filename has an extension or is a filename with a particular extension.
Functions are primarily wrappers
on the tools package functions file_ext
and file_path_sans_ext
.
1 2 3 4 5 6 |
x |
a character vector of the filenames. |
ext |
a character scalar of the extension with or without a leading point. |
A character vector of the extensions or modified filenames or a logical vector indicating whether a filename has an extension or is a particular extension.
file_ext
and file_path_sans_ext
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.