best way for a "not in" function?

 

I'm looking for the best way to do the following in MQL:

I have a file with a list of comments.

And open orders that contain comments.

I'd like to programmatically return the orders with comments not contained in the file.

example: where OrderComments() != Comment#1fromFile,Comment#2fromFile, etc....

 
KJL :

I'm looking for the best way to do the following in MQL:

I have a file with a list of comments.

And open orders that contain comments.

I'd like to programmatically return the orders with comments not contained in the file.

example: where OrderComments() != Comment#1fromFile,Comment#2fromFile, etc....

Make a long string with all comments and use StringFind() to search OrderComment() in this concatenated string.

 
Michal :
KJL :

I'm looking for the best way to do the following in MQL:

I have a file with a list of comments.

And open orders that contain comments.

I'd like to programmatically return the orders with comments not contained in the file.

example: where OrderComments() != Comment#1fromFile,Comment#2fromFile, etc....

Make a long string with all comments and use StringFind() to search OrderComment() in this concatenated string.

brilliant. thanks!