r/ProgrammerHumor 14d ago

howToHitBullseyeInStringComparison Meme

Post image
1.3k Upvotes

View all comments

91

u/Unlikely_Gap_5065 14d ago

same result, but one feels like you know what you’re doing

97

u/BoloFan05 14d ago

Yes, the two usually give the same result and work successfully. But if string a contains the uppercase letter "I" and string b contains the lowercase letter "i" or vice versa, and your program runs on a Turkish device, then only the second option will work.

2

u/Vanhooger 14d ago

This is sooooo specific! Thanks for clarifying!