remove - Liquid Filter Reference - 0.11.2

Filter Name remove
Group Text
Version 0.11.2

Description

Removes every occurrence of the specified substring from a string.

Examples

{{ "The rain in Spain falls mainly on the plain" | remove: "ain" }}
The r in Sp falls mly on the pl

Back to Filter List

Back to Liquid Reference for 0.11.2

 

 
Back to Documentation