Learn R Programming

urlexplorer (version 0.1.0)

split_path: Split path into segments

Description

Split path into segments

Usage

split_path(path)

Value

A tibble with one row per path and columns for each segment separated by '/'.

Arguments

path

A character vector of paths to be split.

Examples

Run this code
split_path(c("/path/to/resource"))

Run the code above in your browser using DataLab