Next: , Previous: String Conversion, Up: Strings and Characters


10.8 Modifying Strings

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.

— Function: string-modified-tick string

This function returns the tick counter for ‘string’.