Compare strings based on room numbers.

Returns -1/0/1 if string s1 < s2 / s1=s2/ s1 > s2.

The comparison is in lower case.

Call:

int strCompareLikeABC10_a(string s1, string s2);


Here:

s1 and s2 are the strings to be compared.


Example:

Compare above or below the list, the room with the name "ROOM 102.2b" must be placed relative to the room with the name "Room 102.3.b"


string s1 = "ROOM 102.2b";
string s2 = "Room 102.3.b";

int ires = strCompareLikeABC10_a(s1, s2);

coutvar << ires;




Result - value -1 will be displayed in the message field. This means that room 102.2b must be listed before room 102.3.b.