---
title: "+(_:_:)"
framework: foundation
role: symbol
role_heading: Operator
path: "foundation/attributedstring/+(_:_:)-drfc"
---

# +(_:_:)

Concatenates two attributed strings or substrings.

## Declaration

```swift
static func + (lhs: AttributedString, rhs: some AttributedStringProtocol) -> AttributedString
```

## Parameters

- `lhs`: An attributed string or substring to concatenate.
- `rhs`: Another attributed string or substring to concatenate.

## Return Value

Return Value The result of concatenating rhs to the end of lhs.

## See Also

### Combining Attributed Strings

- [append(_:)](foundation/attributedstring/append(_:).md)
- [+(_:_:)](foundation/attributedstring/+(_:_:)-8sbsq.md)
- [+=(_:_:)](foundation/attributedstring/+=(_:_:)-4dk88.md)
- [+=(_:_:)](foundation/attributedstring/+=(_:_:)-6yimu.md)
