klyn.MutableString.replace
method
public replace(oldValue as Char, notnull newValue as String) as String
Description

Returns a replacement snapshot without modifying this mutable text.

Parameters
ParameterDescription
oldValueScalar to replace.
newValueReplacement text.
Returns

The immutable replacement result.

Example

result = m"aba".replace('a', "z")