Diego Bash said formatthat is a good answer. You can also use cl-format:
(clojure.pprint/cl-format nil "I don't know what ~a eats." "Joe")
C, the nilstring is returned as the second argument. Other parameters for the second argument will trigger a record somewhere.
format java.lang.String.format. cl-format Clojure Common Lisp format. , , cl-format , Clojure format . - nil:
(format "I don't know what %s eats." nil)
;=> "I don't know what null eats."
(clojure.pprint/cl-format nil "I don't know what ~a eats." nil)
;=> "I don't know what nil eats."