Check out example codes for "c++ compare strings ignore case". It will help you in understanding the concepts better.

Code Example 1

#include <boost/algorithm/string.hpp>
// Or, for fewer header dependencies:
//#include <boost/algorithm/string/predicate.hpp>

std::string str1 = "hello, world!";
std::string str2 = "HELLO, WORLD!";

if (boost::iequals(str1, str2))
{
    // Strings are identical
}

Learn ReactJs, React Native from akashmittal.com