remove_first
Removes the first occurrence of a string.
Syntax
Section titled “Syntax”string | remove_first: stringReturns
Section titled “Returns”string
Example
Section titled “Example”{{ 'a-b-c' | remove_first: '-' }}ab-cRelated
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

