powered by
This is usually used to get the part of a file name that doesn't include the file extension. It is vectorised over string.
string
before_last_dot(string)
A character vector.
# NOT RUN { before_last_dot(c("spreadsheet1.csv", "doc2.doc")) # }
Run the code above in your browser using DataLab