"Don Morrison" <[EMAIL PROTECTED]> wrote:

> lower() is also deprecated :) oh well
> 
> On 7 Feb 2007 21:06:08 GMT, Duncan Booth
> <[EMAIL PROTECTED]> wrote: 
>> "Johny" <[EMAIL PROTECTED]> wrote:
>>
>> > Is there a good way how to use string.find function to find a
>> > substring if I need to you case insensitive substring?
>>
>> s.lower().find(substring.lower())
>>
No. RTFM and don't top post.

The functions such as lower() and find() in the string *module* are 
deprecated. The methods are what you should use.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to