tmxk
7th July 2008 18:56 UTC
Different version of function StrContains
Hi all,
I found there are 2 different versions of function StrContains. One of them is defined in function EnvVarUpdate. Can anybody tell which one is the latest?
Thanks
Jue
http://nsis.sourceforge.net/StrContains
http://nsis.sourceforge.net/Environmental_Variables:_append%2C_prepend%2C_and_remove_entries#Function_Code
tmxk
7th July 2008 19:05 UTC
Can KENGLISH_HI or somebody else answer my question? Thanks
Comperio
7th July 2008 20:03 UTC
What does it matter which is the "latest" if both do the job?
If you wanted something more consistent, then I'd suggest using the WordFindS function (part of WordFunc.nsh). It's distributed with NSIS and is (in my opinion) easier to use. (Documentation and examples found in NSIS help, Appendix E)
tmxk
8th July 2008 13:05 UTC
They are not compatible with each other. Anyway, I will try with your suggestion.
Thanks for your reply.