StrCmpAlphabeticallyCI (FUN)

FUNCTION StrCmpAlphabeticallyCI : INT

Helper function for CmpInstancePaths: compares two strings alphabetically, ignoring case.

See ASCII_to_SortIdx for the exact sorting order of all ASCII characters.

Returns a value > 0 if identifier 1 comes after identifier 2, 0 if they are equal, and a value < 0 if identifier 1 comes before identifier 2.

InOut:

Scope

Name

Type

Return

StrCmpAlphabeticallyCI

INT

Input

st1

STRING(512)

st2

STRING(512)