1

Is there a function in C to compare strings that is not case sensitive. Or do I first have to convert character by character to lowercase and then compare?

  • `stricmp` is not technically an official standard function, but it is available in most major standard libraries. It means **STR**ing **I**nsensitive **C**o**MP**arison. – abelenky Feb 04 '21 at 17:25
  • 2
    Ths function is `strcasecmp()` – Barmar Feb 04 '21 at 17:26
  • It's a POSIX function, but should be available everywhere you care about. – Barmar Feb 04 '21 at 17:27
  • 3
    Does this answer your question? [Case Insensitive String comp in C](https://stackoverflow.com/questions/5820810/case-insensitive-string-comp-in-c) – carlosvin Feb 04 '21 at 17:27

0 Answers0