System.SysUtils.AnsiSameStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AnsiSameStr(const S1, S2: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall AnsiSameStr(const System::UnicodeString S1, const System::UnicodeString S2)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Compares strings based on the current locale with case sensitivity.

AnsiSameStr compares S1 to S2, with case sensitivity. The comparison operation is controlled by the current locale. The return value is True if the two strings have the same value or False otherwise.

See Also