Next: formations escape integers, Previous: formations escape char, Up: formations [Index]
Case conversion. No parameters.
Between ~(
and ~)
the case of all output is changed. The
modifiers on ~(
control the conversion.
~(
Lower case using string-downcase
.
~:(
Title case using string-titlecase
.
~@(
Fold case using string-foldcase
. NOTE Currently broken.
~:@(
Upper case using string-upcase
.
For example:
(format #t "~(Hello~)") -| hello (format #t "~:@(Hello~)") -| HELLO
Case conversions do not nest, currently (an exception is raised). This might change in the future, but if it does then it will be to Common Lisp style where the outermost conversion has priority, overriding inner ones (making those fairly pointless).