---
title: "CFCharacterSetIntersect(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcharactersetintersect(_:_:)"
---

# CFCharacterSetIntersect(_:_:)

Forms an intersection of two character sets.

## Declaration

```swift
func CFCharacterSetIntersect(_ theSet: CFMutableCharacterSet!, _ theOtherSet: CFCharacterSet!)
```

## Parameters

- `theSet`: The source character set, modified by intersection with theOtherSet.
- `theOtherSet`: The character set with which the intersection is formed.

## See Also

### Logical Operations

- [CFCharacterSetInvert(_:)](corefoundation/cfcharactersetinvert(_:).md)
- [CFCharacterSetUnion(_:_:)](corefoundation/cfcharactersetunion(_:_:).md)
