[ic] Chopping values

Jonathan Clark interchange-users@interchange.redhat.com
Tue May 28 05:36:01 2002


> I'm having a table that contains news etc. and I would need to limit the
> length of the text that would be displayed on the frontage.
>
> Is there an easy way in chopping a long text based on some criteria (a
> special character, after some amount of text etc.)?

try [filter op=11]long text string[/filter]

which would produce 'long text s' (first 11 characters). If you want to chop based upon a marker you could create your own filter to
do this, or use perl.

Jonathan
Webmaint.