string case insensitive code example
Example 1: python string match ignore case
if firstStr.lower() == secStr.lower():
print('Both Strings are same')
else:
print('Strings are not same')
Example 2: How to make String.Contains case insensitive?
Assert.IsTrue(text.ToUpper().Contains("Sample".ToUpper()));