trim_prefix {volker} | R Documentation |
If the resulting character would be empty, the prefix is returned. At the end, all items in the vector are trimmed using trim_label.
trim_prefix(x, prefix = TRUE)
x |
A character vector. |
prefix |
The prefix. Set to TRUE to first extract the prefix. |
The trimmed character vector.