Files
liquid/_filters/remove.md
2019-07-28 16:27:13 -04:00

437 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" }} ```