Description Usage Arguments Examples
Extract File Extension
1 | file_extension(x, ext = NULL)
|
x |
path as a character vector. |
ext |
extension to append instead of the original extension. |
1 2 3 4 5 | file_extension('alpha.txt')
file_extension(paste('aa.tt', 1:5, sep=''))
# change extension
file_extension(paste('aa.tt', 1:5, sep=''), 'pdf')
file_extension(paste('aatt', 1:5, sep=''), 'pdf')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.