remove - Liquid Filter Reference
On this page
Description
Removes every occurrence of the specified substring from a string.
| Property | Value |
|---|---|
| Return Type | string |
| Category | text |
Examples
```liquid
{{ “The rain in Spain falls mainly on the plain” | remove: “ain” }} ```
Output: The r in Sp falls mly on the pl
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.