remove_first

指定されたサブ文字列の最初の出現のみを文字列から削除します。

入力

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

出力

I sted to see the train through the rain