The number of characters in a string.
SDK
- Xcode 10.0+
Framework
- Swift Standard Library
Declaration
var count: Int { get }
The number of characters in a string.
SDK
Framework
var count: Int { get }
var isEmpty : Bool
A Boolean value indicating whether a string has no characters.