Search

( format [ string? format-string ] obj ... ) string?
format-string
~a
The corresponding value is inserted into the string as if printed with display.
~s
The corresponding value is inserted into the string as if printed with write.
~%A
A newline is inserted.
~~
A tilde '~' is inserted.
( get-output-string [ output-port? port ] ) string?
It is an error if port was not created with open-output-string. Returns a string consisting of the characters that have been output to the port so far in the order they were output. If the result string is modified, the effect is unspecified.