clojure.core/format¶
Formats a string using java.lang.String.format, see java.util.Formatter for format string syntax
Examples¶
Note by timgilbert¶
Note that (format) is not currently supported in ClojureScript, only in Clojure.
Note by PEZ¶
For ClojureScript there is https://github.com/quoll/clormat. As of this writing it is new and because of that maybe not always fully compliant. Afaiu the goal is to make it fully compliant.
Note by grav¶
There's also Google Closure's format for ClojureScript. Example usage.
See also¶
Content from the matching ClojureDocs page, with authors credited on each contribution.