Instance Property

startIndex

The position of the first Unicode scalar value if the string is nonempty.

Declaration

var startIndex: String.UnicodeScalarView.Index { get }

Discussion

If the string is empty, startIndex is equal to endIndex.

Relationships