replace - Liquid Filter Reference - 1.1.0
| Filter Name | replace |
| Group | Text |
| Version | 1.1.0 |
Description
Replaces every occurrence of the first argument in a string with the second argument.
Examples
{{ "Baby shark do do do do" | replace: "do", "oi" }}
Baby shark oi oi oi oi
Back to Liquid Reference for 1.1.0
Back to Documentation