Constructing Strings
Concatenation
> (concatenate 'string "Happy" " " "Birthday!")
"Happy Birthday!"
Character-by-character manipulation
> (setq str (make-string 5 :initial-element #\A))
"AAAAA"
> (setf (aref str 2 #\C))
#\C
> str
"AACAA"
Previous slide
Next slide
Back to first slide
View graphic version