You can modify a string using the general array-modifying primitives.
See Arrays. The function aset modifies a single character;
the function fillarray sets all characters in the string to
a specified character.
Each string has a tick counter that starts out at zero (when the string is created) and is incremented each time a change is made to that string.