---
title: "appendInterpolation(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/localizedstringkey/stringinterpolation/appendinterpolation(_:)-4qyfo"
---

# appendInterpolation(_:)

Appends the string displayed by a text view to a string interpolation.

## Declaration

```swift
mutating func appendInterpolation(_ text: Text)
```

## Parameters

- `text`: A doc://com.apple.SwiftUI/documentation/SwiftUI/Text instance to append.

## Discussion

Discussion Don’t call this method directly; it’s used by the compiler when interpreting string interpolations.
