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

Primitive predicate string::substring

Returns the substring of the receiver which starts and ends at the given indices. Both indices are 0-based. The start index is inclusive and the end index is exclusive.

string substring(int startPos, int endPos)