Tag: case-insensitive
C++ : Case-insensitive string comparison using STL | C++11 | Boost Library
In this article we will discuss different ways to Compare strings in case insensitive manner. Suppose we have two strings i.e. Advertisements std::string str1 = “Hi This is SamPle”; std::string str2 = “hi this is sample”; Both the above strings should be equal if we compare them in case insensitive manner. Let’s see how to …
C++ : Case-insensitive string comparison using STL | C++11 | Boost LibraryRead More
Javascript: 4 ways to do case-insensitive comparison
A general requirement while working in javascript is case-insensitive string comparisons. Case-insensitive comparison means equating strings irrespective of their case. It does not matter if the string is in upper-case or lower-case. We need to equate them and check if they are the same. While there are multiple ways to perform this job, each technique …
Javascript: 4 ways to do case-insensitive comparisonRead More