rstrip

将字符串右侧的所有空白字符(制表符 - tab、空格符 - space 和 回车符 - newline)删除。

输入


{{ "          So much room for activities!          " | rstrip }}

输出

          So much room for activities!