Previous Up Next

strcmpi
Compares two character strings (by using the standard C function).

I strcmpi (
S _a_
S _b_
)
Parameters

_a_
any string
_b_
any string
Return value

comparison result (case unsensitive). 0 if equal, 1 if _a_ greater than _b_, -1 else

if _a_ and _b_ are nil, 0 is returned
if only _a_ is nil, -1 is returned
if only _b_ is nil, 1 is returned.