added to core/misc:
bool EqualNoCase(const std::string & str1, const std::string & str2) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@660 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -544,6 +544,12 @@ return false;
|
||||
}
|
||||
|
||||
|
||||
bool EqualNoCase(const std::string & str1, const std::string & str2)
|
||||
{
|
||||
return EqualNoCase(str1.c_str(), str2.c_str());
|
||||
}
|
||||
|
||||
|
||||
bool ValidateEmail(const std::string & email)
|
||||
{
|
||||
if( email.empty() )
|
||||
|
@@ -56,6 +56,7 @@ const char * ToStr(int value);
|
||||
bool IsSubString(const char * short_str, const char * long_str);
|
||||
bool IsSubStringNoCase(const char * short_str, const char * long_str);
|
||||
bool EqualNoCase(const char * str1, const char * str2);
|
||||
bool EqualNoCase(const std::string & str1, const std::string & str2);
|
||||
|
||||
bool ValidateEmail(const std::string & email);
|
||||
|
||||
|
Reference in New Issue
Block a user