Instance Property

count

The number of characters in a string.

Declaration

var count: Int { get }

Relationships

From Protocol

See Also

Inspecting a String

var isEmpty: Bool

A Boolean value indicating whether a string has no characters.