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
BeforeLastDot(string)
A character vector.
BeforeLastDot(c("spreadsheet1.csv", "doc2.doc"))
Run the code above in your browser using DataLab