Retire la subcadena de String Liquid Shopify

{{ "foo bar baz" | remove: "bar" }}
-- expected output: foo baz 
CoderHomie