Am I blind / overly exhausted or is there simply no way to do case-insensitive string comparisons in IDA? I'll be embarassed if I overlooked the obvious, but I had to get this done tonight. In case it really doesn't exist, here it goes:
static tolower (str)
{
auto i, c, new;
new = "";
for (i = 0; i < strlen(str); i++)
{
c = substr(str, i, i + 1);
if (ord(c) >= 0x41 && ord(c) <= 0x5a)
c = form("%s", ord(c) + 32);
new = new + c;
}
return new;
}







