| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Compare 2 strings
Source position: syshelph.inc line 67
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: SizeInt;  | 
const B: string;  | 
IndexB: SizeInt;  | 
ALen: SizeInt  | 
):Integer; overload;  | 
const A: string;  | 
IndexA: SizeInt;  | 
const B: string;  | 
IndexB: SizeInt;  | 
ALen: SizeInt;  | 
IgnoreCase: Boolean  | 
):Integer; overload;  | 
const A: string;  | 
IndexA: SizeInt;  | 
const B: string;  | 
IndexB: SizeInt;  | 
ALen: SizeInt;  | 
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  |