Hallöchen!

[EMAIL PROTECTED] writes:

> Is there any way in python to say
>
>     if string1 in string2:
>         <do something>
>
> ignoring the case of string1 and string2? 

You can "normalise" both first, i.e. converting to lower case.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                                      Jabber ID: [EMAIL PROTECTED]
               (See http://ime.webhop.org for further contact info.)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to