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

Oleg Broytmann Oleg Broytmann <phd@mail2.phd.pp.ru>
Fri, 23 Feb 2001 19:36:32 +0300 (MSK)


On Fri, 23 Feb 2001, Lars Heber wrote:
> <dtml-let myTest="'some really senseless blah'">
> <dtml-var *first 10 characters of myTest*>
> </dtml-let>

   Hint: how would you do this in pure Python? :)

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.