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

# characters

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

## Declaration

```swift
var characters: AttributedString.CharacterView { get }
```

## See Also

### Accessing Views into the Attributed Substring

- [AttributedString.CharacterView](foundation/attributedstring/characterview.md)
- [unicodeScalars](foundation/attributedsubstring/unicodescalars.md)
- [AttributedString.UnicodeScalarView](foundation/attributedstring/unicodescalarview.md)
- [runs](foundation/attributedsubstring/runs.md)
- [AttributedString.Runs](foundation/attributedstring/runs-swift.struct.md)
