| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Compare 2 strings
Source position: syshelph.inc line 47
| public class function TStringHelper.Compare( | 
| const A: string; | 
| const B: string | 
| ):Integer; overload; | 
| const A: string; | 
| const B: string; | 
| IgnoreCase: Boolean | 
| ):Integer; overload; | 
| const A: string; | 
| const B: string; | 
| Options: TCompareOptions | 
| ):Integer; overload; | 
| const A: string; | 
| IndexA: Integer; | 
| const B: string; | 
| IndexB: Integer; | 
| ALen: Integer | 
| ):Integer; overload; | 
| const A: string; | 
| IndexA: Integer; | 
| const B: string; | 
| IndexB: Integer; | 
| ALen: Integer; | 
| IgnoreCase: Boolean | 
| ):Integer; overload; | 
| const A: string; | 
| IndexA: Integer; | 
| const B: string; | 
| IndexB: Integer; | 
| ALen: Integer; | 
| Options: TCompareOptions | 
| ):Integer; overload; | 
Compare compares strings A and B. It returns the following result:
The comparison can be influenced by using the appropriate overloaded version of the function.
None.
| 
 | Compare 2 strings byte for byte | |
| 
 | How to compare strings | |
| 
 | Compare string to another |