Read about: concatenate, subseq, length, search, string=
http://tcw2.ppsw.rug.nl/cltl/clm/node1.html
(defun change-first-letter (word letter)
(concatenate 'string letter (subseq word 1 (length word))))
(change-first-letter "mood" "f")
"food"
Peat wrote:
>
> another thing...can anyone help me with:
>
> say i had a word "mood"...how can i replace the first char on mood
> with an f making it "food"?? please help again....
>
> Thanks!!!
>
> -Pete