[Zope] Substring

Anderson Ami a_ami@hotmail.com
Wed, 11 Aug 1999 06:23:46 PDT


Thanks a LOT !!!

Hugs
Anderson


>
> > How I get a substring ?
>
>if 'a' is some string, and you want the first three characters:
><!--#var "a[0:3]"-->
>
>or
>
><!--#var "a[:3]"-->
>
>This is the Python 'slicing operator'. You may want to look up the
>Python tutorial at www.python.org; the expressions in the 'var' tags are
>Python expressions (with unfortunately a lot of convoluted stuff due to
>the _ namespace bits).
>
> > How i use a let tag ?
>
>Haven't worked with that one myself yet. :)
>
>Regards, and good luck,
>
>Martijn


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com