int String::StrCmp(const String& s1, const String& s2)
// returns: 0 if s1 == s2
// - if s1 < s2
// + if s1 > s2
// using lexicographic ordering
{
if ((s1.Size() == 0) && (s2.Size() == 0))
return 0;
else if ((s1.Size() == 0) && (s2.Size() != 0))
return -1;
else if ((s1.Size() != 0) && (s2.Size() == 0))
return 1;
else
return (strcmp(s1.str, s2.str));
} // end StrCmp()