---
title: string
framework: fskit
role: symbol
role_heading: Instance Property
path: fskit/fsfilename/string
---

# string

The filename, represented as a Unicode string.

## Declaration

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

## Discussion

Discussion If the value of the filename’s data is not a valid UTF-8 byte sequence, this property is empty.

## See Also

### Accessing filename properties

- [data](fskit/fsfilename/data.md)
- [debugDescription](fskit/fsfilename/debugdescription.md)
