strip_root: Strip a root file path from an absolute filename.

Description Usage Arguments Value Examples

Description

Strip a root file path from an absolute filename.

Usage

1
strip_root(root, filename)

Arguments

root

character. The root path.

filename

character. The full file name.

Value

the stripped file path.

Examples

1
2
3
4
## Not run: 
  stopifnot("test" == strip_root("foo/bar/test", "test"))

## End(Not run)

syberia/director documentation built on May 30, 2019, 10:40 p.m.