string
BeforeLastDot(string)
BeforeLastDot(c("spreadsheet1.csv", "doc2.doc"))
Run the code above in your browser using DataLab