Get file dir from string

file_get_dir(str, up = FALSE)

Arguments

str

str

up

up dir

Value

a character specifying the dir path