Liquid Filter Reference for remove_first - v0.9.5

Filter Name remove_first
Group Text
Version 0.9.5

Description

Removes only the first occurrence of the specified substring from a string.

Examples

{{ "The rain in Spain falls mainly on the plain" | remove_first: "ain" }}
The r in Spain falls mainly on the plain

Back to Filter List

Back to Liquid Reference for 0.9.5

 

 
Back to Documentation