(rontolisp) docs
← Functions

prin1-to-string

(prin1-to-string object)

Returns, as a string, the text that prin1 would write for object -- the readable form in which strings keep their surrounding quotes and characters use #\ syntax. Nothing is printed; the rendering is captured and returned, so the result could be fed back to read.