Forums / Setup & design / truncating a string / Comment13302
Paul Forsyth
Thursday 28 August 2003 12:40:14 am
You would need to add this as an operator to allow the underlying php string function through to the template.
In 3.1 have a look at the ez lib file:
lib/eztemplate/classes/eztemplatewashoperator.php:
I see in 3.2 there is a new file for string functions:
lib/eztemplate/classes/eztemplatestringoperator.php
Hopefully from these files you can see what is going on. I find using 'grep' extremely handy to determine which files contain the things im interested in.
Paul