If it's used, then the whitespace that follows will not appear in the final
output.

On Fri, Jul 29, 2011 at 3:45 PM, Rajeev Prasad <[email protected]> wrote:

> Hi,
>
> someone plz help in understanding purpose of minus(-) sign inside the
> square brackets. and how/why to use them? thank you.
>
> for e.g.:
>
> [% FOREACH name IN iterate -%]
> [%- name %]
> [%- IF name != iterate.last %] and [% END -%]
> [%- END %]
>
>
>
> _______________________________________________
> templates mailing list
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates
>
>


-- 
Check out my LEGO blog at http://www.brickpile.com/
View my photos at http://flickr.com/photos/billward/
Follow me at http://twitter.com/williamward
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to