Skip to content

Remove ​

Removes all instances of a substring from a string.

liquid
{{ string | remove: substring }}

Example ​

liquid
{{ 'Hello, Hello world' | remove: 'Hello' }}

Output

html
,  world