SyntaxFix
Write A Post
Hire A Developer
Questions
You can do it using string.indexOf("{item}"). If the result is greater than -1 {item} is in the string
string.indexOf("{item}")
{item}