Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # format <code> (format fmt args) </code> ### Example <code> (ns clojure.examples.hello (:gen-class)) (defn hello-world [] (println (format "Hello , %s" "World")) (println (format "Pad with leading zeros %06d" 1234))) (hello-world) </code> #### Output <code> Hello , World Pad with leading zeros 001234 </code> ## Refs - https://www.tutorialspoint.com/clojure/clojure_strings_format.htm open/format.txt Last modified: 2024/10/05 06:15by 127.0.0.1