<Return[C]><Top>

ChrCmpI

Declare Function Api_ChrCmpI& Lib "shlwapi" Alias "ChrCmpIA" (ByVal c1 As Byte, ByVal c2 As Byte)

Declare Function ChrCmpI Lib "shlwapi" Alias "ChrCmpIA" (ByVal c1 As Byte, ByVal c2 As Byte) As Long

二つの文字 c1 と c2 を、大文字・小文字を区別せずに比較する。

パラメータ
c1

    比較元の文字

c2

    比較先の文字

 

戻り値

    c1 と c2 が、同一の文字の場合、0 が返される。異なる文字の場合、0 以外が返される。