TIL: Some NSIS utility functions

  • To trim a string use:
1
${WordReplace} $target " " "" "{}" $output

 

  • To get day/time info use:
1
${GetTime} "" "L" $Day $Month $Year $DayOfWeek $Hour $Minute $Second

 

  • To check a string for invalid characters you can use ${StrFilter}

 

Leave a Reply

Your email address will not be published. Required fields are marked *