[Zope] i want a substring...

Ausum augusto@artlover.com
Fri, 13 Jul 2001 09:12:08 -0500


<dtml-var "_.str(id)[-2:]">


Take a look at:

http://www.python.org/doc/current/tut/node5.html#SECTION005120000000000000000



Ausum



Junk wrote:
> 
> hello all,
> 
> i would like to / love to get the 2 last characters from an id ? how do i do
> that ?
> 
> i'm really completely stuck :(((
> 
> junk
> 
> _______________________________________________
> 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 )