---
title: string
framework: vision
role: symbol
role_heading: Instance Property
path: vision/recognizedtext/string
---

# string

The top candidate for recognized text.

## Declaration

```swift
var string: String { get }
```

## See Also

### Inspecting the recognized text

- [confidence](vision/recognizedtext/confidence.md)
