我该如何在NSIS中连接两个字符串?
StrCpy $1 "one string"
StrCpy $2 " second string"
MessageBox MB_OK "$1$2"
如果您想使用同一变量进行连接,可以按照以下方式操作:
StrCpy $1 "ABC"
StrCpy $1 "$1123"
DetailPrint $1
输出结果为"ABC123"
StrCpy $1 "Hello"
StrCpy $2 "World"
StrCpy $3 "$1 $2"
DetailPrint $3
\
:MessageBox MB_OK "Alright, Mr. User you are done here, so you can go ahead and \
stop reading this message box about now."