length The length of the attributed string. Declarationvar length: Int { get } See AlsoRelated Documentationsize()lengthGetting the charactersstringattributedSubstring(from:)