replace
Replaces every occurrence of a string.
Syntax
Section titled “Syntax”string | replace: find, replace_withParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
find (required) |
string | Text to look for. |
replace_with (required) |
string | Replacement. |
Returns
Section titled “Returns”string
Example
Section titled “Example”{{ 'Free delivery in Doha' | replace: 'Doha', 'Qatar' }}Free delivery in QatarRelated
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

