remove_first
Removes the first occurrence of a substring. (standard Liquid filter.)
Example
{{ "a-b-c" | remove_first: "-" }}Output:
ab-cRemoves the first occurrence of a substring. (standard Liquid filter.)
{{ "a-b-c" | remove_first: "-" }}Output:
ab-c