mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 16:55:40 +03:00
469 B
469 B
title, description
| title | description |
|---|---|
| remove_first | Liquid filter that removes the first occurence of a given substring from a string. |
Removes only the first occurrence of the specified substring from a string.
Input
```liquid {% raw %} {{ "I strained to see the train through the rain" | remove_first: "rain" }} {% endraw %} ```Output
```text {{ "I strained to see the train through the rain" | remove_first: "rain" }} ```