remove_file_extension: remove_file_extension

Description Usage Arguments Author(s) Examples

Description

Strips a file extension from a filename.

Usage

1
remove_file_extension(filename, extension_delimiter = ".")

Arguments

filename

Character. The input filename.

extension_delimiter

Character. The extension or extension delimiter (default ".") to remove.

Author(s)

Jonathan A. Greenberg spatial.tools@estarcion.net

Examples

1
2
3
myfilename="my.file.gri"
remove_file_extension(myfilename,".")
remove_file_extension(myfilename,".file.gri")


Search within the gdalUtils package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.