remove_last

從字串中移除最後一次出現的指定子字串。

輸入

{{ "I strained to see the train through the rain" | remove_last: "rain" }}

輸出

I strained to see the train through the