If you use Cheetah, please support the project and register by clicking here:


7.7 #slurp

Syntax:

#slurp

The #slurp directive eats up the trailing newline on the line it appears in, joining the following line onto the current line.

It is particularly useful in #for loops:

#for $i in range(5)
$i #slurp
#end for
outputs:
0 1 2 3 4

If you use Cheetah, please support the project and register by clicking here: