Using StrFilter
I would like to use StrFilter to strip out all the non-numeric characters from a string, however when I do so it doesn't seem to have any effect, can anybody point me in the right direction?
example:
!include "WordFunc.nsh"
!insertmacro StrFilter
Section
${StrFilter} "$$Revision 10 $$" "1" "" "" $rev
SectionEnd
However $rev remains undefined.
Any thoughts?
For the record what I'm actually trying to do is massage a Subversion revision number into a Windows .exe product version number using VIProductVersion.
cheers,
Gabe