15 std::string s1 =
"limbo2343slimbo";
16 std::string s2 =
"LiMbo2343SliMbo";
19 std::cout <<
"string " << s1 <<
" and " << s2 <<
" is equal case-sensitive\n";
21 std::cout <<
"string " << s1 <<
" and " << s2 <<
" is not equal case-sensitive\n";
24 std::cout <<
"string " << s1 <<
" and " << s2 <<
" is equal case-insensitive\n";
26 std::cout <<
"string " << s1 <<
" and " << s2 <<
" is not equal case-insensitive\n";
bool iequals(string const &s1, string const &s2)
check two strings equal, case-insensitive
Check string is integer, floating point, number... Convert string to upper/lower cases.