# ckeyEx proc

Source: https://ref.dm-lang.org/proc/ckeyEx

### Format
> `ckeyEx(Text)`

### Args
> Text: The text string to convert to case-sensitive canonical key form.

### Returns
> The same text stripped of all punctuation and space. Unlike, ckey(), case is preserved as are the '-' and '_' characters.

The true canonical form of a key is in all lowercase, but occasionally, it is nice to preserve case when stripping a key (or other text) of any special characters.

> [!note]
> 
> This proc used to be named `cKey`, like `ckey` but with a capital k. To avoid confusion it has been renamed, but old code will still compile with a warning.

### See also
> [ckey proc](https://ref.dm-lang.org/proc/ckey.md)
