#### StrCmp

##### StrCmp(String a, String b)

This function is used to compare two strings. It returns positive if String a is greater than String b, returns 0 if String a is equal to String b, and returns negative if String a is less than String b.

Parameters

- a- A String value.
- b- A String value.

Return value

The return value is an Integer.

Examples

- The return value of the following statement is -1.

  `StrCmp("He is Tom", "I am student")`

- The return value of the following statement is 0.

  `StrCmp("He is Tom", "He is Tom")`

- The return value of the following statement is 1.

  `StrCmp("I am student", "He is Tom")`