Getting a few characters
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.
on 20. desember 1999 Tom Deprez wrote : TD> Hi, TD> Does anyone knows how to get eg. the 50 first characters of a text property? TD> ie. I've a ZClass which contains a text property. I'm now making a html page TD> which shows several classes in a certain folder. Per instance I want to give TD> the first characters of its text property. TD> Thanks in advance, TD> Tom. <dtml-var textpropertyname size=50> ought to cut it.. -- Geir B Hansen web-developer/designer geirh@funcom.com http://www.funcom.com
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.
participants (3)
-
Geir B Hansen -
Jim Washington -
Tom Deprez