RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::== Operator

Compares the System::AnsiString::AnsiString with a specified string, returning true if they are the same.

Pascal
operator ==(const rhs: AnsiString&);
C++
__fastcall bool operator ==(const AnsiString& rhs) const;

Returns true if this System::AnsiString::AnsiString is the same as rhs, false otherwise.

Note: This System::AnsiString::== performs a simple byte-level numeric comparison. For locale support, or to ignore case, use the AnsiCompare or AnsiCompareIC methods.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!