;; Clojure has no string interpolation - format and str do the job
(def font-size 14)
(def font-family "Arial")
(def style1
(format "font-size: %d;font-family: \"%s\"" font-size font-family))
;; style1 is "font-size: 14;font-family: "Arial""
(def style2
(str "font-size: " (
/ font-size 2.0) ";font-family: \"" font-family "\""))
;; style2 is "font-size: 7.0;font-family: "Arial""
(println "style1 is" style1)
(println "style2 is" style2)