<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Contacts",
  "identifier" : "/documentation/Contacts/CNPostalAddressFormatter/string(from:style:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Contacts"
    ],
    "preciseIdentifier" : "c:objc(cs)CNPostalAddressFormatter(cm)stringFromPostalAddress:style:"
  },
  "title" : "string(from:style:)"
}
-->

# string(from:style:)

Returns a postal address as a string and formatted for the specified style.

```
class func string(from postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle) -> String
```

## Parameters

`postalAddress`

The postal address to format.

`style`

The postal formatting style to use. For a list of possible values, see [`CNPostalAddressFormatterStyle`](/documentation/Contacts/CNPostalAddressFormatterStyle).

## Return Value

The formatted postal address.

---

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)