Get file name from string

file_get_name(str, with_ext = TRUE, keep_dir = FALSE)

Arguments

str

str

with_ext

with ext or not

keep_dir

keep file dir or not

Value

a character specifying the file name