$replaceText
$replaceText
will replace specific segments of text.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | Text you want to modify. | true |
replacer | string | The text that will be replaced. | true |
replaceTo | string | The text that will replace replacer . | true |
times? | number | How many times replaceTo replaces replacer . / Use -1 for the last one. | false |
Example(s)
This will replace M
with D
and the output will be Donkey
:
Advanced Example
This will replace the word coffee
two times using the last field of $replaceText
:
This will replace Ferel
and are
using multiple $replaceText
: