13 lines
248 B
C++
13 lines
248 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;
|
||
|
}
|
||
|
}
|