[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Type](https://evolu.dev/docs/api-reference/common/Type) › TrimmedString

```ts
const TrimmedString: trimmed(String);
```

Defined in: [packages/common/src/Type.ts:5388](https://github.com/evoluhq/evolu/blob/037c390af081e9944d616ff298a729515c5c5ab7/packages/common/src/Type.ts#L5388)

A [String](https://evolu.dev/docs/api-reference/common/Type/variables/String) without surrounding whitespace.

This Type validates that a string is already trimmed; it does not modify the
value. Use [trim](https://evolu.dev/docs/api-reference/common/Type/functions/trim) to normalize a string. Because an empty string is
valid, this Type is useful as an intermediate boundary for input controls
that trim their values before domain validation. If an empty string is
invalid, use [NonEmptyTrimmedString](https://evolu.dev/docs/api-reference/common/Type/variables/NonEmptyTrimmedString).