On 22/03/07, Travis Basevi <[EMAIL PROTECTED]> wrote:
Nice idea. If anyone cares, I'd also make good use of that functionality.
> I would prefer if it broke on whitespace, rather than at the exact
> length that I specify.

+1

I've found myself implementing this repeatedly, often ever so slightly
differently, and would be greatly relieved if truncate just DWIM in
this way.

The extra arguments shouldn't affect behaviour for existing code, so
it could really go in core rather than be an add-on.

A.


--
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to