powered by
Get file dir from string
file_get_dir(str, up = FALSE)
a character specifying the dir path
str
up dir