Instance Property

length

The length of the receiver’s string object.

Declaration

var length: Int { get }

See Also

Retrieving Character Information

var string: String

The character contents of the receiver as an NSString object.