[Zope] i want a substring...

Phil Harris phil.harris@zope.co.uk
Fri, 13 Jul 2001 14:57:33 +0100


<dtml-var "id[-2:]">

This is a *very* basic Python question, check the Python manuals for more
details.


----- Original Message -----
From: "Junk" <junk@gargl.net>
To: <zope@zope.org>
Sent: Friday, July 13, 2001 2:47 PM
Subject: [Zope] i want a substring...


> 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 )