---
title: "CFCharacterSetAddCharactersInString(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcharactersetaddcharactersinstring(_:_:)"
---

# CFCharacterSetAddCharactersInString(_:_:)

Adds the characters in a given string to a character set.

## Declaration

```swift
func CFCharacterSetAddCharactersInString(_ theSet: CFMutableCharacterSet!, _ theString: CFString!)
```

## Parameters

- `theSet`: The character set to modify.
- `theString`: A string containing the characters to add to theSet.

## See Also

### Adding Characters

- [CFCharacterSetAddCharactersInRange(_:_:)](corefoundation/cfcharactersetaddcharactersinrange(_:_:).md)
