The string-set! procedure provided by the (rnrs mutable-strings (6)) library allows mutating the characters of a string in-place.
See http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-19.html#node_idx_1280
(string-set! string k char)
See http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-19.html#node_idx_1282
(string-fill! string char)