Replace
This formula allows you to replace a particular substring occurrence inside another string with a given replacement.
Returns
string
JSON Format
{
"type": "replace",
"string": ...,
"occurrence": ...,
"replace": ...
}
RPG Script
This component can be written in RPG Script as:
replace(...)
Fields
| Field | Type | Required | Description |
|---|---|---|---|
replace | StatFormulaComponent | ✓ | The formula for the string that the occurrences should be replaced for.@type string |