Archive: Different version of function StrContins


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


Can KENGLISH_HI or somebody else answer my question? Thanks


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)


They are not compatible with each other. Anyway, I will try with your suggestion.
Thanks for your reply.