String comparison

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

Enter string 1  

Enter string 2  

   Comparison result: