remove_constant_name.RdTaking a set of filenames remove the constant leading &/or lagging portion of the names.
remove_constant_name(name_set)
| name_set | a character vector of names with some common leading or lagging substrings. |
|---|
name_set with constant substring removed.
#> [1] "sample" "control"