---
title: state
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/ddmatchpostaladdress/state
---

# state

The state name in a postal address.

## Declaration

```swift
var state: String? { get }
```

## See Also

### Getting postal address information

- [street](datadetection/ddmatchpostaladdress/street.md)
- [city](datadetection/ddmatchpostaladdress/city.md)
- [postalCode](datadetection/ddmatchpostaladdress/postalcode.md)
- [country](datadetection/ddmatchpostaladdress/country.md)
