powered by
Get the file extension from a file-name.
get.ext(fn)
returns the (usually) 3 character file extension of a filename
filename(s) (with full path is ok too)
Nicholas Cooper nick.cooper@cimr.cam.ac.uk
rmv.ext
get.ext("/documents/nick/mydoc.xlsx") get.ext(c("temp.cnv","temp.txt"))
Run the code above in your browser using DataLab