String manipulation
26 Sep
2000
26 Sep
'00
7:28 p.m.
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
25 Sep
25 Sep
7:39 p.m.
New subject: [Zope] String manipulation
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) phil.harris@zope.co.uk ----- Original Message ----- From: jensebaer To: zope@zope.org 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
9324
Age (days ago)
9323
Last active (days ago)
1 comments
2 participants
participants (2)
-
jensebaer -
Phil Harris