String comparison is case sensitive by default . Just use operator== for std::string .
Read moreIs string find case sensitive C++?
std::string provides a method std::string::find to search for the sub string inside a given string, but this function is case sensitive i.e.
Read moreHow do you do case-insensitive string comparison?
Comparing strings in a case insensitive manner means to compare them without taking care of the uppercase and lowercase letters. To perform this operation the most preferred method is to use either toUpperCase() or toLowerCase() function . toUpperCase() function: The str.
Read moreIs comparing strings case sensitive?
CompareTo and Compare(String, String) methods. They all perform a case-sensitive comparison .
Read moreHow do you do case insensitive string comparison in C++?
Compare Two Strings Ignoring the Case in C++
Read moreHow do you do case insensitive string comparison in C++?
Compare Two Strings Ignoring the Case in C++
Read moreHow do you compare case sensitive?
Case sensitive string comparison in Java.
Read more