---
title: "remove(charactersIn:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/characterset/remove(charactersin:)-5td97"
---

# remove(charactersIn:)

Remove a range of integer values from the CharacterSet.

## Declaration

```swift
mutating func remove(charactersIn range: Range<Unicode.Scalar>)
```
