mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
|
#include <LittleHelper.h>
Static Public Member Functions | |
static size_t | stringCmpi (const std::string &s1, const std::string &s2) |
Compares two strings case insensitive. | |
Definition at line 10 of file LittleHelper.h.
|
static |
Compares two strings case insensitive.
If string one is smaller than the second, -1 is returned, if it's greater 1. If they are perfectly equal, that means, they have the same size, 0 is returned. If they are the same until the first string ends, the difference in size is returned.
s1 | one string |
s2 | another string |
Definition at line 19 of file LittleHelper.cpp.