# ArrayRemoveDuplicates()

Removes duplicate values from array.

**Introduced:** 6.0.0.119

```
ArrayRemoveDuplicates( array=array, ignoreCase=boolean );
```

**Returns:** array

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| array | array | Yes | An array to deduplicate |  |
| ignoreCase | boolean | No | if set to true, the duplicate value will not be case sensitive |  |

# Examples

```cfml
arrayWithDupes=[ "Swansea Jack", "Bob the Railway Dog", "Banjo", "Cosmo", "Canelo", "Waghya", "Banjo", "Gelert", "Bob the Railway Dog", "Waghya", "Banjo", "Gelert" ];
dump( arrayWithDupes );
arrayWithoutDupes= arrayRemoveDuplicates( arrayWithDupes );
dump( arrayWithoutDupes );
```







# Categories

[Arrays](../../categories/array.md)

# See Also

[array.removeDuplicates()](../objects/array/removeduplicates.md)