Description Usage Arguments See Also
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 |
Other string-utils: blanks
,
dup
, pad
,
replace_ext
, strip_ext
,
strsplitN
, trim
,
wrap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.