如何检查 Nunjucks 模板中的字符串中是否存在子字符串

How to check whether the substring is present in a string in Nunjucks Template

如果我们有一个像 "This is High Price" 这样的字符串,我如何检查 Nunjucks 模板中是否存在 "high"

感谢 a GitHub issue,发现 in 是这样工作的:"high" in "This is High Price"

注意:这是区分大小写的搜索。