-- Bradley Holt <[EMAIL PROTECTED]> wrote
(on Tuesday, 28 October 2008, 12:29 PM -0400):
> Is there a simple way in ZF to truncate a string? I searched and didn't find
> any talk of a ZF specific component for this. I also looked at the list of
> standard filter classes and didn't see anything there either. I know there are
> tons of possible ways to do this - I'm just surprised there isn't anything in
> ZF yet so perhaps I'm just not looking in the right place.

You're looking for Zend_Filter_StringTrim -- which can be used in the
form classes as well.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to