public replace(notnull oldValue as String, notnull newValue as String) as String
Returns an immutable String with substring replacements.
| Parameter | Description |
|---|---|
oldValue | Substring to replace. |
newValue | Replacement text. |
An immutable String result.
result = m"a-b-a".replace("a", "x")