and here is a small test:
'string compare API
! lstrcmpi Lib "kernel32.dll" Alias "lstrcmpiA" (ByVal lpString1 As String, ByVal lpString2 As String) As Long
string a,b
INT res
a="OXYGEN" : b="oxygen"
res=lstrcmpi(a,b)
print str(res)+" OK"
'-----------------------------
a="OXYGEN" : b="Oxygen"
res=lstrcmpi(a,b)
print str(res)+" OK"
'-----------------------------
a="OXYGEN" : b="PXYGEN"
res=lstrcmpi(a,b)
print str(res)+ " NEGATIVE-first string is less than second"