---
title: inflected()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/attributedstring/inflected()
---

# inflected()

Applies automatic grammar agreement inflection rules to the attributed string and returns the result.

## Declaration

```swift
func inflected() -> AttributedString
```

## Return Value

Return Value An attributed string that represents the effect of applying inflection rules to the source attributed string.
