Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Removes duplicate items in the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello" ¶ "Hello" ¶ "World" | |
NoReturnEnding | Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists. | 1 | Optional |
RemoveAll | If duplicate is found also remove the first occurrence. Set to 1 to enable or 0 to disable. Default is disabled. | 1 | Optional |
Returns new list.
Remove duplicates:
MBS( "List.RemoveDuplicateItems"; "Hello¶World¶Hello" )
Remove all duplicates
MBS( "List.RemoveDuplicateItems"; "Hello¶World¶Hello"; 0; 1 )
This function checks for a license.
Created 18th August 2014, last changed 8th August 2020