file1 <- "example.txt"file2 <- "example.ffe.2f2.csv"files <- c(file1,file2)tools::file_path_sans_ext(files)
Standard input is empty
[1] "example" "example.ffe.2f2"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!