Replaces strings in the given text.
Name | Type | Description |
---|---|---|
text | string | The text where to replace strings |
using | string[] | The replacements (Key = search, Value = replacement) |
Documentation source:
{{ replace(text: 'This is a test', using: ['This is' => 'Just']) }}
Result:
Just a test