common-lisp format

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Parameters

Lambda-List(format DESTINATION CONTROL-STRING &REST FORMAT-ARGUMENTS)
DESTINATIONthe thing to write to. This can be an output stream, t (shorthand for *standard-output*), or nil (which creates a string to write to)
CONTROL-STRINGthe template string. It might be a primitive string, or it might contain tilde-prefixed command directives that specify, and somehow transform additional arguments.
FORMAT-ARGUMENTSpotential additional arguments required by the given CONTROL-STRING.

Remarks

The CLHS documentation for FORMAT directives can be found in Section 22.3. With SLIME, you can type C-c C-d ~ to look up the CLHS documentation for a specific format directive.



Got any common-lisp Question?