Check if Mail subject/body contains an item from list of strings

I am always getting False. Please check below;

List items: {“J10023”,“J10024”,“J10025”,“J10026”}

MailSubject: J10023:Excellent Opportunity, revert if interested.

Listitems.Contains(MailSubject) returns false.

1 Like