Can you give an example? I can't speak for all possible lisps but Common Lisp and clojure have great string built-ins:
What's the equivalent lisp?
(printf "x = %6d\ny = %.8E\n" x y)
If I've understood everything right, and your example is in C, the format string in Clojure is identical to the one in your comment.