From: Jeff Sandys
Subject: Re: string assembly in lisp?? help??
Date: 
Message-ID: <36F11A92.7988331D@NOboeingSPAM.com>
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