![[LISPWORKS]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fLWSmall.gif&f=jpg&w=240)
![[Common Lisp HyperSpec (TM)]](/image.pl?url=http%3a%2f%2fwww.lispworks.com%2fdocumentation%2fHyperSpec%2fBody%2f..%2fGraphics%2fCLHS_Sm.gif&f=jpg&w=240)
Syntax:
stringx =>string
Arguments and Values:
x---astring, asymbol, or acharacter.
string---astring.
Description:
Returns astring described byx; specifically:
Examples:
(string "already a string") => "already a string" (string 'elm) => "ELM" (string #\c) => "c"
Affected By: None.
Exceptional Situations:
In the case where a conversion is defined neither by this specification nor by theimplementation, an error oftypetype-error is signaled.
See Also:
Notes:
coerce can be used to convert asequence ofcharacters to astring.
prin1-to-string,princ-to-string,write-to-string, orformat (with a first argument ofnil) can be used to get astring representation of anumber or any otherobject.