filename_extract_extension | R Documentation |
purposely naive approach to keep things simple for our internal usecases; strip a . followed by 1-5 characters from end of the string
filename_extract_extension(f)
f |
f can either be a filename or a full path, and optionally carry a file extension. eg; remove_file_extension_from_path("file.txt"); remove_file_extension_from_path("C:/temp/file") |
extension including the '.' or empty string if not found
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.