---
title: string
framework: Natural Language
role: symbol
role_heading: Instance Property
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+, watchOS 10.0+]
path: naturallanguage/nlcontextualembeddingresult/string
---

# string

A copy of the input string used to generate the embedding vectors.

## Declaration

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

## See Also

### Inspecting the result

- [language](naturallanguage/nlcontextualembeddingresult/language.md)
- [sequenceLength](naturallanguage/nlcontextualembeddingresult/sequencelength.md)
