remove_first

仅从字符串中删除第一次出现的指定子字符串。

输入

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

输出

I sted to see the train through the rain