Removes duplicates from a data series of strings.
Syntax
RemoveDuplicates(StringSeries [ , IgnoreCase = FALSE ])
The syntax of the RemoveDuplicates function consists of the following parts:
Part |
Description |
---|---|
StringSeries |
The data series with strings from which duplicates are to be removed. Permitted data structures are Data series. Supported data types are String. If the argument is a list, then the function is executed for each element of the list and the result is also a list. |
IgnoreCase |
A Boolean value that specifies whether to ignore the case when performing a search. Permitted data structures are Scalar value. Supported data types are Boolean value. If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated. If this argument is omitted, it will be set to the default value FALSE . |
Remarks
As the result the function returns a data series of data type String.
The result is a data series with the unique strings from StringSeries.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
RemoveDuplicates({"Channel1", "Channel2", "Channel2", "Channel1", "Channel1", "Channel2", "Channel3"})
Returns the data series {"Channel1", "Channel2", "Channel3"}.