✅ Ignore case sensitive string in array.
Is there a better or shorter way of ignoring case sensitive strings in a array?
8 Replies
Even this way is not %100 because if the user enters just one capital letter it wont work
yeah, use the ignore case options when checking if strings are equal
How to compare strings - C#
Learn how to compare and order string values, with or without case, with or without culture specific ordering.
ok I'll read through the link, thanks
This removes case sensitive letters for a string variable Text1.Equals(Tesla, StringComparison.OrdinalIgnoreCase)
but it does not work with array
wut
show code with what you're trying to do
I made a error, It's working now 🙂
thank you
@77_105_114_111 $close
If you have no further questions, please use /close to mark the forum thread as answered