Instance Property

startIndex

The position of the first code unit if the UTF-8 view is nonempty.

Declaration

var startIndex: String.UTF8View.Index { get }

Discussion

If the UTF-8 view is empty, startIndex is equal to endIndex.

Relationships