Liquid Filter Reference for replace - v0.9.5

Filter Name replace
Group Text
Version 0.9.5

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 Filter List

Back to Liquid Reference for 0.9.5

 

 
Back to Documentation