Old 7th July 2008, 18:56   #1
tmxk
Junior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 32
Unhappy 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

Last edited by tmxk; 7th July 2008 at 19:34.
tmxk is offline   Reply With Quote
Old 7th July 2008, 19:05   #2
tmxk
Junior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 32
Can KENGLISH_HI or somebody else answer my question? Thanks
tmxk is offline   Reply With Quote
Old 7th July 2008, 20:03   #3
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
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)
Comperio is offline   Reply With Quote
Old 8th July 2008, 13:05   #4
tmxk
Junior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 32
They are not compatible with each other. Anyway, I will try with your suggestion.
Thanks for your reply.
tmxk is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump