Jens,

You have a few options:

1.    Cut the string, <dtml-var "the_string[:20]
2.    Use the size option of dtml-var, <dtml-var the_string size=20
etc="...">

hth

Phil (ex. twinky-salesman)
[EMAIL PROTECTED]

----- Original Message -----
From: jensebaer
To: [EMAIL PROTECTED]
Sent: Tuesday, September 26, 2000 8:28 PM
Subject: [Zope] String manipulation


Hi all,

how can I manage it to cut a string.

for example:

a string property (testtext) with 500 words.

but only want to give out 20 characters of tis text.

Thank you

 Jens


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to