Archive: Comparing strings


Comparing strings
Hello.

I want to compare if two password strings are equal. I couldn't use the strCmp function because it is case insensitive :) . Is there a function or a way of comparing two strings in a case sensitive manner.


Use the LogicLib.

!define LOGICLIB_STRCMP
!include LogicLib.nsh
# ...
${If} $0 S== $1
DetailPrint "same"
${Else}
DetailPrint "different"
${EndIf}