CompareText compares the given strings S1 and S2, and returns zero (0) if they match.
CompareText is not sensitive to case in its comparison - A is taken as the same as a.
The function will return 1 if -
Declaration: Function CompareText( const S1, S2 : string) : Integer
Here is an example.