extract_path_segment | R Documentation |
Extract a specific segment from a path
extract_path_segment(path, segment_index)
path |
A character vector of paths. |
segment_index |
The index of the segment to extract. |
A character vector containing the specified segment from each path.
extract_path_segment(c("/path/to/resource", "/another/path/"), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.