powered by
Get the file extension of a given file. This function takes a file path as input and returns the file extension without the dot.
getExtension(file)
A character vector containing the file extension without the dot.
A character string containing the file path.
getExtension("example.txt")
Run the code above in your browser using DataLab