# ListGetDuplicates()

Removes duplicate values from list.

**Introduced:** 7.0.0.107

```
ListGetDuplicates( list=string, delimiters=string, ignoreCase=boolean, includeEmptyFields=boolean );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| list | string | Yes | a string list |  |
| delimiters | string | No | Characters that separate list elements. The default value is comma. *Alias: delimiter* | , |
| ignoreCase | boolean | No | if set to true, the duplicate value test will not be case sensitive | false |
| includeEmptyFields | boolean | No | if set to true, empty values are included as well |  |

# Examples

```cfml
list = '1,7,,7,10,6,7,8';
dump( listGetDuplicates( list ) ); // returns 7
```







# Categories

[Lists](../../categories/list.md), [Strings](../../categories/string.md)

# See Also

[string.listGetDuplicates()](../objects/string/listgetduplicates.md)