---
title: "append(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsmutablestring/append(_:)"
---

# append(_:)

Adds to the end of the receiver the characters of a given string.

## Declaration

```swift
func append(_ aString: String)
```

## Parameters

- `aString`: The string to append to the receiver. aString must not be nil

## See Also

### Modifying a String

- [applyTransform(_:reverse:range:updatedRange:)](foundation/nsmutablestring/applytransform(_:reverse:range:updatedrange:).md)
- [deleteCharacters(in:)](foundation/nsmutablestring/deletecharacters(in:).md)
- [insert(_:at:)](foundation/nsmutablestring/insert(_:at:).md)
- [replaceCharacters(in:with:)](foundation/nsmutablestring/replacecharacters(in:with:).md)
- [replaceOccurrences(of:with:options:range:)](foundation/nsmutablestring/replaceoccurrences(of:with:options:range:).md)
- [setString(_:)](foundation/nsmutablestring/setstring(_:).md)
