[Zope] determining if a item is a character
Graham Chiu
anon_emouse@hotmail.com
Fri, 11 Feb 2000 21:58:35 +1200
I wish to prevent single character searches unless they are numeric.
I'm trying this in my zsql code without much luck
<dtml-if "_.len(_['sequence-item'])==1"> and
_.find(_.letters,_['sequence-item'])>0">
do something here...
</dtml-if>
-------
Regards, Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.com/dynamo - The Homebuilt Dynamo
http://www.compkarori.com/dbase - The dBase bulletin