0

I want to check, if a string exists in another string, but when I search for the string, I can only get a confirmation, when the string is exactly the same. How can I bypass that?

1 Answers1

0

Try this, it checks whether string is contained in string2 (case insensitive) after verifying they are different :

string != string2 and str.lower(string) in str.lower(string2)
EricLavault
  • 5,766
  • 2
  • 19
  • 33