CodeQL library for Python
codeql/python-all 3.0.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)