[Zope] Getting a few characters

Jim Washington jwashin@vt.edu
Mon, 20 Dec 1999 13:55:29 -0500


Hi, Tom

Try:

<dtml-var mytext size=50>

or try:

<dtml-var mytext size=50 etc=...>

-- Jim Washington

> 
> Hi,
> 
> Does anyone knows how to get eg. the 50 first characters of a text property?
> 
> ie. I've a ZClass which contains a text property. I'm now making a html page
> which shows several classes in a certain folder. Per instance I want to give
> the first characters of its text property.
> 
> Thanks in advance,
> 
> Tom.