---
title: widthInsensitive
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsstring/compareoptions/widthinsensitive
---

# widthInsensitive

Search ignores width differences in characters that have full-width and half-width forms, as occurs in East Asian character sets.

## Declaration

```swift
static var widthInsensitive: NSString.CompareOptions { get }
```

## Discussion

Discussion For example, with this option, the full-width Latin small letter ‘ａ’ (U+FF41) is equal to the basic Latin small letter ‘a’ (U+0061).

## See Also

### Constants

- [caseInsensitive](foundation/nsstring/compareoptions/caseinsensitive.md)
- [literal](foundation/nsstring/compareoptions/literal.md)
- [backwards](foundation/nsstring/compareoptions/backwards.md)
- [anchored](foundation/nsstring/compareoptions/anchored.md)
- [numeric](foundation/nsstring/compareoptions/numeric.md)
- [diacriticInsensitive](foundation/nsstring/compareoptions/diacriticinsensitive.md)
- [forcedOrdering](foundation/nsstring/compareoptions/forcedordering.md)
- [regularExpression](foundation/nsstring/compareoptions/regularexpression.md)
