[Zope] How do I get the first ten characters of a string?

Bak @ kedai kedai@kedai.com.my
Sat, 24 Feb 2001 00:34:47 +0800


<dtml-var "muTest[:10]">  ?
-----Original Message-----
From: Lars Heber <Lars.Heber@t-systems.de>
To: zope@zope.org <zope@zope.org>
Date: Saturday, February 24, 2001 12:27 AM
Subject: [Zope] How do I get the first ten characters of a string?


><dtml-let myTest="'some really senseless blah'">
><dtml-var *first 10 characters of myTest*>
></dtml-let>
>
>I couldn't find the solution anywhere...
>
>TIA
>Lars
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>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 )
>