Description Usage Arguments Value Examples
Get or change a filename extension
1 2 |
filename |
A filename, with or without the path |
value |
A file extension with or without a dot, e.g., ".txt" or "txt" |
maxchar |
Maximum number of characters after the last dot in the filename, for that string to be considered a filename extension |
A file extension, filename or path.
If ext(filename)
is used without a value
argument, it returns the file extension; otherwise it returns the filename (with new extensions set to value
1 2 3 4 5 6 7 |
Loading required package: sp
[1] ""
[1] ".txt"
[1] ".document"
[1] ""
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.