Old 26th June 2011, 13:50   #1
Alexander137
Junior Member
 
Join Date: Jun 2011
Posts: 1
Regex

Hey guys,

I have a string that looks like this:

"<affid>9999</affid><subid>0001</subid><bing>0</bing><weather>0</weather><wecare>0</wecare>"

I'd like to strip the affid, subid ect out and declare a variable for each.

I'm new to NSIS.

Any help would be appreciated.

-Alex
Alexander137 is offline   Reply With Quote
Old 26th June 2011, 14:48   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
i'd try WordFind2X or one of those XML plugins on the wiki
Yathosho is offline   Reply With Quote
Old 26th June 2011, 14:50   #3
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
The macros in wordfunc.nsh will help you with this. Please refer to the manual: http://nsis.sourceforge.net/Docs/AppendixE.html
MSG 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