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()) > > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list