How do I concatenate 2 strings in NSIS?
4 Answers
If you want to concatenate using the same variable you can do something like this:
StrCpy $1 "ABC"
StrCpy $1 "$1123"
DetailPrint $1
output is "ABC123"
-
4+1 for mentioning that the variables can be placed just next to string literals Mar 20, 2014 at 3:33
If you're looking to split up one long string over multiple lines, just use the \
inside the quotes:
MessageBox MB_OK "Alright, Mr. User you are done here, so you can go ahead and \
stop reading this message box about now."