---
title: charactersIgnoringModifiers
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uikey/charactersignoringmodifiers
---

# charactersIgnoringModifiers

A string that represents the text value of the key without modifier keys.

## Declaration

```swift
var charactersIgnoringModifiers: String { get }
```

## Mentioned in

Handling key presses made on a physical keyboard

## Discussion

Discussion For Latin-based languages, always expect a lowercase property value. If the user is pressing only a modifier key, the property value is an empty string. To check for special keys, compare charactersIgnoringModifiers to constants listed in Input strings for special keys.

## See Also

### Getting key characters

- [characters](uikit/uikey/characters.md)
