From ... From: Erik Naggum Subject: Re: Character conversion !! Date: 1999/07/27 Message-ID: <3142057517796072@naggum.no>#1/1 X-Deja-AN: 505721039 References: <7njrun$2nq$1@wanadoo.fr> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * "Olivier Pinçon" | How can I transform single characters (like 'A, 'B, 'C) in strings which | contain 1 character (respectively "A", "B", "C") ? | | Please tell it me !! It should'nt be complicated !! 'A, 'B, and 'C aren't characters, they are (quoted) symbols. if you want a mapping from string to symbol, it's INTERN (creates it) or FIND-SYMBOL (looks it up, only). if you want a mapping from symbol to string, it's SYMBOL-NAME. #\A, #\B, and #\C are characters. if you have a string of length one or a symbol whose symbol-name is a string of length one, CHARACTER will return the corresponding character. (character 'a) => #\A if you want to create a string out of a character, STRING will do that: (string #\a) => "a" which textbook or reference manual are you using? [I have assumed Common Lisp in the absence of any contrary information.] #:Erik -- suppose we blasted all politicians into space. would the SETI project find even one of them?