Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Chopping values



> 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.






Search for: Sort by: