Trim extensions from a file name
This function trims extensions from a file name.
trim_ext(x, n)
x |
a |
n |
number of extensions to trim off the end |
modified object of the original type
x <- "path/data.txt.gz" print(trim_ext(x))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.