CodeQL library for Swift
codeql/swift-all 3.0.1-dev (changelog, source)
Search

Predicate getCodepointAt

Gets the ith codepoint in s. Unpaired surrogates are skipped.

Import path

import codeql.util.Strings
string getCodepointAt(string s, int i)