REPLACE
Overwrites characters of a text with another text.
The length of the text stays the same. Characters of insert that would make it longer are dropped. A start behind the end of the text raises INVALID_ARGUMENT.
Parameters and results
textSTRING: the textstartINTEGER: the position where overwriting beginsinsertSTRING: the new characters- result
resultSTRING: the changed text
Example
c0de
CALL c0de/strings/REPLACE
PARAMETER text "Hello Alex" ;
PARAMETER start 6 ;
PARAMETER insert "Stev" ;
RESULT result greeting