Creates a character output stream.
common-lisp
make-string-output-stream &key element-type => stream
element-type⇩ |
A type specifier. |
stream |
A string output stream. |
The function make-string-output-stream
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.
make-string-output-stream in the Common Lisp HyperSpec
with-output-to-string
*default-character-element-type*
set-default-character-element-type
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30