remove_first - Liquid Filter Reference - 0.10.11
Filter Name | remove_first |
Group | Text |
Version | 0.10.11 |
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.10.11
Back to Documentation