Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is IstringMap interface the best to find a string in a list?
#3
QM help says:

"If you want to add simple list of strings (keys without values), you can use "[]" as sep to avoid breaking strings into keys and values."

If I add the above text in test.txt and use sep="[]"

Macro Macro289
Code:
Copy      Help
str test2.getfile("$desktop$\test.txt")
IStringMap m=CreateStringMap(1|2)

m.AddList(test2 "[]")

_s="you"
if m.Get(_s)
,out "found"
else out "not found"

_s="you" => not found

Please, how to find any word in a huge text?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)