---
title: characters
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/discontiguousattributedsubstring/characters
---

# characters

The characters of the discontiguous attributed string, as a view into the underlying string.

## Declaration

```swift
var characters: DiscontiguousSlice<AttributedString.CharacterView> { get }
```
