string.find for case insensitive search

Don Morrison donmorrison at gmail.com
Wed Feb 7 16:39:56 EST 2007


My apologies, I confused the built-in "str" with the module "string".
I was reading from the section of the 2.4.4 docs called: 4.1.4
Deprecated string functions

On 2/7/07, Robert Kern <robert.kern at gmail.com> wrote:
> Don Morrison wrote:
> > lower() is also deprecated :) oh well
>
> The string method .lower() is not deprecated.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless enigma
>  that is made terrible by our own mad attempt to interpret it as though it had
>  an underlying truth."
>  -- Umberto Eco
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list