remove

Added in: v1.9.1

Removes every occurrence of the specified substring from a string.

Input

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

Output

I strained to see the t through the