11-02-2010, 08:19 PM
Holy Guacamole!! Just the trick.... I can now use REGEX to parse the query string and submit word each AND word in the statetment.....get the results using your new functions, then get the common (overlapping) subsets.
To get the individual words, I will use something like this:
Macro Macro55
rep 1000
,Thanks Gintaras!!!
Stuart
To get the individual words, I will use something like this:
Macro Macro55
[code]
str Query = "test phrase here";; from input box
str Pattern_1w = "\b\w+?\b"
ARRAY(str) arr_1w
int Total_1w = findrx(Query Pattern_1w 0 4 arr_1w)
out Total_1w
out "[][]"
for _i 0 Total_1w
,out arr_1w[0 _i][/code]
rep 1000
,Thanks Gintaras!!!
Stuart