Thanks to visit codestin.com
Credit goes to codeql.github.com

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

Primitive predicate string::prefix

Returns the substring of the receiver ending at the given 0-based exclusive offset

string prefix(int endPos)