11 Aug
1999
11 Aug
'99
2:47 a.m.
How I get a substring ? How i use a let tag ? Anderson WebSoluções ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
11 Aug
11 Aug
7:46 a.m.
New subject: [Zope] Substring
Anderson Ami wrote:
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
9735
Age (days ago)
9735
Last active (days ago)
1 comments
2 participants
participants (2)
-
Anderson Ami -
Martijn Faassen