Remove whitespace (or other characters) from the end of a string
[...] = optional ... = your value
[var $... = ]call rtrim $val=…[;$charlist=…]
Show as text
Reload
default rtrim
input =| xyz FOOBAR zyx |
output =| xyz FOOBAR zyx|
a space in the charlist
input = | xyz FOOBAR zyx |
output = | xyz FOOBAR|
trim a range of characters
input = ABCDEFGHIJKLMABCDEF
output = ABCDEFGHI