The function compareString() compares string 1 and string 2. The result of the comparison is an integer defined in the following.
Comparison result: