remove_first - Liquid Filter Reference - 0.11.3
Filter Name | remove_first |
Group | Text |
Version | 0.11.3 |
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 Liquid Reference for 0.11.3
Back to Documentation