replace
Replaces all occurrences of a string with another string
Sample Usage
---
title: I Love My Hat
---
{{ title|replace:Hat:Pants }}
This will return I Love My Pants
.
Note: the v1 modifier parser does not accept whitespace.
Replaces all occurrences of a string with another string
---
title: I Love My Hat
---
{{ title|replace:Hat:Pants }}
This will return I Love My Pants
.
Note: the v1 modifier parser does not accept whitespace.
This article was last updated on March 30th, 2016. Find an error? Please let us know!