---
title: "write(_:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/string/write(_:)"
---

# write(_:)

Appends the given string to this string.

## Declaration

```swift
mutating func write(_ other: String)
```

## Parameters

- `other`: A string to append.

## See Also

### Writing to a File or URL

- [write(to:)](swift/string/write(to:).md)
