Trim path and extension of a file
Arguments
- text
character string to be evaluated
- forbiddenLetters
characters to be removed if in the
text
. Default value offorbiddenLetters
is"[[:punct:]]"
meaning that all punctuation characters are forbidden.- replacement
character replacing the
forbiddenLetters
. Default value offorbiddenLetters
is "_".