Pascal Scripting: CompareStr

Inno Setup

Pascal Scripting: CompareStr

Prototype:

function CompareStr(const S1, S2: string): Integer;

Description:

Compares S1 to S2, with case-sensitivity. The return value is less than 0 if S1 is less than S2, 0 if S1 equals S2, or greater than 0 if S1 is greater than S2.