Creates a character output stream, performs a series of operations that may send results to this stream, and then closes the stream.
with-output-to-string ( var &optional string-form &key element-type ) declaration form => result
The macro with-output-to-string behaves as specified in the ANSI Common Lisp Standard with one exception: the default value of element-type is the value of *default-character-element-type*.
Therefore for strict compliance you must call set-default-character-element-type to set the default string type to
character
.
compile-file
declare
proclaim
*default-character-element-type*
set-default-character-element-type