CullDuplicateStrings

Removes duplicates from an array of strings.

Syntax

Rhino.CullDuplicateStrings (arrStrings [, blnCaseSensitive)

Parameters

arrStrings

Required.  Array.  An array of strings.

blnCaseSensitive

Optional.  Boolean.  Use case sensitivity when culling.  The default is to cull with case sensitivity (True).

Returns

Array

An array of strings with duplicates removed if successful.

Null

If not successful or on error.

Example

Dim arr, n

arr = Array("Rhino", "Rhino", "Rhino", "Rhino")

arr = Rhino.CullDuplicateStrings(arr)

For Each n in arr

Rhino.Print n

Next

Also See

CullDuplicateNumbers

CullDuplicatePoints