Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 13th July 2017, 22:27   #1
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 269
Question how can search string in multi line variable and return string line number

hi
for example i have a variable with this value

HTML Code:
StrCpy $CFR "1--------------$\r$\n2-Which is the best CPU scheduling algorithm?$\r$\n3-CPU Scheduler$\r$\n4-I/O request or invocation$\r$\n5--------------"
i want search string by word "invocation" and find line number (4) "invocation" is in that..
and read that line first character (4)
r2du-soft is online now   Reply With Quote
 
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