CodeQL library for C/C++
codeql/cpp-all 12.4.2 (changelog, source)
Search

Primitive predicate string::contains

Holds when the receiver contains the given literal substring. Matching is case-sensitive. Every string contains the empty string.

predicate contains(string substring)