powered by
Extract file name
file.name(..., extension = TRUE)
file names
one or more file path
whether include extension, default is TRUE
file.name('f:/dir/1.txt') file.name('f:/dir/1.txt', 'f:/dir/1.txt') file.name('f:/dir/1.txt', 'f:/dir/1.txt', 'f:/dir/')
Run the code above in your browser using DataLab