System.AnsiStringT.operator ==

From RAD Studio API Documentation
Jump to: navigation, search

C++

bool operator ==(const AnsiStringT& rhs) const {

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT

Description

Compares the AnsiStringBase with a specified string; returns True if they are the same.

System.AnsiStringT.operator == inherits from System.AnsiStringBase.operator ==. All content below this line refers to System.AnsiStringBase.operator ==.

Compares the AnsiStringBase with a specified string; returns True if they are the same.

Returns True if this AnsiStringBase is the same as rhs, False otherwise.

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

See Also