Compare Strings (Case Insensitive)

Compare two strings ignoring case differences.

Code

General
str1.lower() == str2.lower()

Parameters

First string to compare

Second string to compare

Server

More Python Snippets