replace

replace用第二个参数替换字符串中每个参数的出现。

输入

{{ "Take my protein pills and put my helmet on" | replace: "my", "your" }}

输出

Take your protein pills and put your helmet on