Skip to main content

replace

string | replace: string, string
returns string

Replaces any instance of a substring inside a string with a given string.

{{ product.handle | replace: '-', ' ' }}

Output

komodo dragon scale
Was this page helpful?