Removes trailing whitespace or specified characters from string.
Optional
The string to trim.
The characters to trim.
Returns the trimmed string.
_.trimEnd
Removes trailing whitespace or specified characters from string.