SyntaxFix
Write A Post
Hire A Developer
Questions
You could try using Strings with a separator which does not appear in any element.
if ("|a|b|c|".contains("|a|"))