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

Primitive predicate string::splitAt

Returns the n’th (starting at 0) substring obtained by splitting the receiver at every occurrence of the argument. Trailing empty substrings are omitted. Splitting at an empty string returns all the characters that the receiver consists of.

string splitAt(string delimiter, int n)