...but applicable ONLY for that instance. The other solution provided is
more universal ;)

On Dec 14, 2007 10:41 AM, Encolpe Degoute <[EMAIL PROTECTED]>
wrote:

> Victor Subervi a écrit :
> > Hi;
> > Why can't I do this?
> >
> >>>> author = "By Juan Garcia"
> >>>> if author[0:2] == "by " | "By " | "BY":
>
> if author[0:2].lower() == "by":
>
>
> --
> Encolpe Degoute
> INGENIWEB (TM) - S.A.S 50000 Euros - RC B 438 725 632
> 17 rue Louise Michel - 92300 Levallois Perret - France
> web : www.ingeniweb.com - « les Services Web Ingénieux »
> Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Plone-Users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to