System.SysUtils.WideSameText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WideSameText(const S1, S2: WideString): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall WideSameText(const System::WideString S1, const System::WideString S2);

Properties

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

Description

Compares Unicode strings based on the current locale without case sensitivity.

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

See Also