FeatherMC/src/util/StringUtil.cpp

14 lines
249 B
C++

#include <cctype>
namespace Feather::StringUtil
{
bool iequalc(char c1, char c2)
{
if (c1 == c2)
return true;
else if (std::toupper(c1) == std::toupper(c2))
return true;
return false;
}
}