Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output findrx to textbox what is readable
#2
You probably use a str variable to get findrx output, like

Code:
Copy      Help
str s
if(findrx("...abcdef..." "abcdef" 0 0 s)<0) ret
out s

You can use array instead:

Code:
Copy      Help
ARRAY(str) a
if(findrx("...abcdef..." "(ab)(cd)(ef)" 0 0 a)<0) ret
out a[1]
out a[2]
out a[3]

a[0] will contain whole match (like s in the first example), a[1] - first part enclosed in (), and so on.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)