02-22-2013, 11:03 PM
Hi Gintaras, Hi all,
I must test a string variable to a huge bunch of other strings. (>50)
StrSel is what i used, but it's not convenient when there is many many strings to test.
A loop using foreach is what i used , but seems too long.
IStringmap is also a possibility from examples in QM I use now.
My best bet would be something like StrSel, but the tested strings would be in an array filled from a text file.
How to achieve something like:
str test2.getfile("$desktop$\test.txt")
_s="somethingtotest"
int result=SelStr(17 _s test2)
if(result!=0)
action...
Does it exit?
What can you give as advice to best handle that?
thanks
I must test a string variable to a huge bunch of other strings. (>50)
StrSel is what i used, but it's not convenient when there is many many strings to test.
A loop using foreach is what i used , but seems too long.
IStringmap is also a possibility from examples in QM I use now.
My best bet would be something like StrSel, but the tested strings would be in an array filled from a text file.
How to achieve something like:
str test2.getfile("$desktop$\test.txt")
_s="somethingtotest"
int result=SelStr(17 _s test2)
if(result!=0)
action...
Does it exit?
What can you give as advice to best handle that?
thanks