📌  相关文章
📜  c++ 比较字符串忽略大小写 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:48.301000             🧑  作者: Mango

代码示例1
#include 
// Or, for fewer header dependencies:
//#include 

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

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