string-trim-right

[procedure] string-trim-right s [char/char-set/pred start end]

SRFI-13

See also string-trim, string-trim-both.