System.WideStrUtils.WStrComp

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function WStrComp(const Str1, Str2: PWideChar): Integer;

C++

extern DELPHI_PACKAGE int __fastcall WStrComp(const System::WideChar * Str1, const System::WideChar * Str2);

プロパティ

種類 可視性 ソース ユニット
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

説明

2 つの PWideChar 値を大文字と小文字を区別して比較します。

2 つの PWideChar 文字列を大文字と小文字を区別して比較する場合は、WStrComp を使用します。戻り値を次の表に示します。



戻り値 条件

<0

Str1Str2 の前にソートされる

=0

Str1Str2 と同じ

>0

Str1Str2 の後にソートされる



関連項目