remove_first

Filter = remove_first

Removes only the first occurrence of the specified substring from a string.

INPUT

OUTPUT

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

I sted to see the train through the rain