powered by
Strips a file extension from a filename.
remove_file_extension(filename, extension_delimiter = ".")
Character. The input filename.
Character. The extension or extension delimiter (default ".") to remove.
# NOT RUN { myfilename="my.file.gri" remove_file_extension(myfilename,".") remove_file_extension(myfilename,".file.gri") # }
Run the code above in your browser using DataLab