RosettaCodeData/Task/Word-wrap/PicoLisp/word-wrap.l

7 lines
169 B
Common Lisp

: (prinl (wrap 12 (chop "The quick brown fox jumps over the lazy dog")))
The quick
brown fox
jumps over
the lazy dog
-> "The quick^Jbrown fox^Jjumps over^Jthe lazy dog"