Allows to quickly remove a given number of characters from the end of a string
substrRight(input, n)
Character string to be trimmed.
Number of characters to be removed.
A trimmed string or vector of trimmed strings.