Search code examples
stringnsis

String parsing functions in NSIS


Is there any string parsing functions in NSIS other than StrCpy and StrLen?

Or a plugin that has methods like strstr, strcmp, find, contains etc.


Solution

  • StrFunc, included in the default install, contains several functions:

    ${StrCase}
    ${StrClb}
    ${StrIOToNSIS}
    ${StrLoc}
    ${StrNSISToIO}
    ${StrRep}
    ${StrStr}
    ${StrStrAdv}
    ${StrTok}
    ${StrTrimNewLines}
    ${StrSort}