Split a file path and return the nth piece(s)
1 | split_path(path, n = 1, from = "end", ...)
|
path |
Vector of file paths. |
n |
Which part(s) to return. |
from |
One of ‘start’ or ‘end’. From which direction do we count the parts. |
... |
Arguments passed on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.