strncasecmp

fnint strncasecmp(scope const char * s1, scope const char * s2, size_t n)

Compare two strings ignoring case, up to n characters