Trims characters from the end of a string based on the provided pattern(s). This is a convenience function specifically for trimming the end of a string.
trimCharacters
Trims characters from the end of a string based on the provided pattern(s). This is a convenience function specifically for trimming the end of a string.