|

CompareTo


(string) The string you want to compare to Text.


Re t u r n s


(number) A number representing the result of the comparison:



VALUE DESCRIPTION


-1


The string in Text is less than (<) the string in CompareTo.


0


The string in Text is equal to (=) the string in CompareTo.


1


The string in Text is greater than (>) the string in CompareTo.


|