remove_first

remove_first用于仅从字符串中删除指定子字符串的第一个匹配项。

输入

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

输出

I sted to see the train through the rain