call rtrim $val=… [;$charlist=…]