startIndex
The position of the first character in a nonempty string.
Declaration
var startIndex: String.Index { get }Discussion
In an empty string, startIndex is equal to endIndex.
The position of the first character in a nonempty string.
var startIndex: String.Index { get }In an empty string, startIndex is equal to endIndex.