I wanted to use strnicmp to compare two string arrays, but it seems it does not exist in the Arduino library. I could use strstr, but strstr is case sensitive.
What is the best way of finding a string in another string without regard to case?
Or alternatively comparing the first n characters of a string without regard to case?
I could do it myself, but if there's a function already out there...?
Nothing wrong doing it yourself. If the String string is something you receive on a serial (or other stream) byte by byte, then the easiest way is probably to put everything in lower or upper case as you receive the characters rather than later on