{foreach 1..10 as $i limit 4 offset 2} {$i} {/foreach}