System.AnsiStringBase.operator ==

From RAD Studio API Documentation
Jump to: navigation, search

C++

bool operator ==(const AnsiStringBase& rhs) const;

Properties

Type Visibility Source Unit Parent
function protected dstring.h System AnsiStringBase


Description

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