<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributedString/+(_:_:)-8sbsq",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation16AttributedStringV1poiyA2C_ACtFZ"
  },
  "title" : "+(_:_:)"
}
-->

# +(_:_:)

Concatenates two attributed strings.

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

## Parameters

`lhs`

An attributed string to concatenate.

`rhs`

Another attributed string to concatenate.

## Return Value

The result of concatenating `rhs` to the end of `lhs`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)