[EMAIL PROTECTED] wrote: > Is there any way in python to say > > if string1 in string2: > <do something> > > ignoring the case of string1 and string2?
if string1.lower() in string2.lower(): ... (there's no case-insensitive version of the "in" operator in stock Python) </F> -- http://mail.python.org/mailman/listinfo/python-list