> ## Documentation Index
> Fetch the complete documentation index at: https://kk-83bff226.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# removeDuplicatedChars

> Removes duplicated characters from a string.

## Signature

```typescript path=null start=null theme={null}
removeDuplicatedChars(str: string): string
```

## Parameters

* **str**: `string` - The input string.

## Returns

`string` - A new string with duplicated characters removed.

## Source

Defined in [string.ts:132](https://github.com/koji/ichigyou/blob/main/src/string.ts#L132)
