How can I compare two strings case-insensitively? #4211
Unanswered
Jameshsia7
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vyper: 0.4.0
Python: 3.11
OS: Windows 10
I'm trying to compare two strings in a case-insensitive way. In Python, the code would be:
if a.lower() == b.lower():
How can I do the equivalent in Vyper?
If I try it, I get:
Thank you
Beta Was this translation helpful? Give feedback.
All reactions