Comparing a string

johnvert at my-deja.com johnvert at my-deja.com
Tue Jul 11 14:50:15 EDT 2000


Hi,

How can I compare two strings in a case-insensetive way? I couldn't find
a function similar to strcasecmp or even to strcmp in
http://www.python.org/doc/current/lib/module-string.html.  I understand
it's a silly question, but I can't find a way to do this (I don't want
to use regexps)

Thanks,
-- John


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list