Correlation Does Not Imply Causation

code / security / books

Menu

Skip to content
  • Home
  • Blog

Tag Archives: TIL

TIL: Some NSIS utility functions

March 11, 2011 by Angel Marquez
  • To trim a string use:
1
${WordReplace} $target " " "" "{}" $output

${WordReplace} $target " " "" "{}" $output

 

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

${GetTime} "" "L" $Day $Month $Year $DayOfWeek $Hour $Minute $Second

 

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

 

Posted in NSIS | Tagged NSIS, TIL | Leave a comment |

Post navigation

Proudly powered by WordPress | Theme: Sundance by WordPress.com.