<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [normalizeString](./x-components.normalizestring.md)

## normalizeString() function

Trims the string, transforms it to lower case, and removes [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) from it.

**Signature:**

```typescript
export declare function normalizeString(string: string | undefined): string;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  string | string \| undefined | The string to normalize. |

**Returns:**

string

The normalized version of the string.

