System.Generics.Defaults.TStringComparer
![TStringComparer](/images/Libraries/Rio/e/0/08/System.Generics.Defaults.TStringComparer.png)
Delphi
TStringComparer = class(TCustomComparer<string>)
C++
class PASCALIMPLEMENTATION TStringComparer : public TCustomComparer__1<System::UnicodeString>
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Generics.Defaults.pas System.Generics.Defaults.hpp |
System.Generics.Defaults | System.Generics.Defaults |
Description
TStringComparer is a case-sensitive string comparer.
TStringComparer is a case-sensitive string comparer that can be used in generic collections. TStringComparer uses binary comparison and hash generation routines internally.
Do not create instances of the TStringComparer class. TStringComparer rather acts like a singleton. Use the Ordinal method to get an instance of the TStringComparer class.
See Also
Code Examples