powered by
Split path into segments
split_path(path)
A tibble with one row per path and columns for each segment separated by '/'.
A character vector of paths to be split.
split_path(c("/path/to/resource"))
Run the code above in your browser using DataLab