On Tue, Jun 08, 1999 at 11:16:06AM +0200, Martijn Faassen wrote: |Zope on a Rope wrote: |> |> Thanks for the zippy reply. |> |> At 04:03 PM 6/7/99 -0400, Pavlos Christoforou wrote: |> >On Mon, 7 Jun 1999, Zope on a Rope wrote: |> ><!--#if expr="title[0:2] != 'zzz'"--> |> |> Now that worked like a charm. Cheers! | |But if my Python is correct this will *always* be false as title[0:2] |will |get you title[0] and title[1] in a string, 2 characters. This is always |something other than 'zzz', obviously. :) | |Just thought I'd point this out! <blush>You are indeed correct.</blush> My fingers were engaged but my brain unfortunately was not in gear. I spotted the foul up after I sent the mail. Doh! -- Now I lay me down to sleep, I pray the firewall will keep, may no cracker through my network break, a no one smurf me 'till I wake.