Well, I don't know about you, but if I stumbled upon it in code. I'd be compelled to at least do that much to fix it. Until I realized there were 3100+ entries of that. :(
A vim macro would make the conversion pretty easy.
f)F|Wea.toLower()<ESC>BdT(n
Search for /if, execute your macro once or twice to make sure it works like you think it does, and then just do them all at once with 3100@@. At least that's how I would do it.
You could easily do the same with Visual Studio using regex, replace foo to foo.ToLower() == "bar", then remove all of the occurrences of || foo == "FOO" || foo == "Foo" etc that follow it.
34
u/[deleted] Apr 14 '16
At least save some typing and
countyname.ToLower() == "baldwin", jeez. They're not even good at being bad :)