mirror of
https://github.com/KumoCorp/kumomta.git
synced 2026-08-19 16:01:08 +00:00
222 B
222 B
kumo.string.replace(STRING, FROM, TO)
{{since('dev')}}
Replaces all matches of FROM with TO and returns the resulting string.
assert(kumo.string.replace('this is old', 'old', 'new') == 'this is new')