№4
Заменить подстроку в строке
(defparameter *my-string* (string "Harpo Marx"))
; *MY-STRING*
(subseq *my-string* 0 5)
; "Harpo"
(setf (subseq *my-string* 0 5) "Chico")
; "Chico"
*my-string*
; "Chico Marx"
Источник:
cl-cookbook.sourceforge.net
cl-cookbook.sourceforge.net