replace

Change a string by other when found

1
{{$replace [value] [find] [replace]}}
Example
format JSON XML
HTML
1
2
3
4
5
{
"Store": {
"description": "We sell cocoa"
}
}
Code
1
{{$replace Store.description "cocoa" "chocolate"}}
Result
HTML
1
<Store description="We sell cocoa"></Store>
Code
1
{{$replace Store.description "cocoa" "chocolate"}}
Result

Params

1
2
3
4
5
{{$replace
"string"
"string to find"
"string to replace"
}}