Files
liquid/_filters/remove.md
2021-04-28 13:43:02 -04:00

439 B

title, description
title description
remove Liquid filter that removes all occurences of a given substring from a string.

Removes every occurrence of the specified substring from a string.

Input

```liquid {%- raw -%} {{ "I strained to see the train through the rain" | remove: "rain" }} {% endraw %} ```

Output

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