list find duplicate

Allows you to search for duplicates in a list.


Example

Running this code will count the duplicates for the list "%test" as shown below:

The report "&report" shows the number of duplicates for the following words:

  • go: 4
  • to: 3
add list to list(%test,$plugin function("Data and Files Automation.dll", "$split", "go go to to day go to go", " ", "None"),"Don\'t Delete","Global")
plugin command("Data and Files Automation.dll", "list find duplicate", %test, "Count", &report)

Was this helpful?

Previous Article

list append prefix/suffix

Next Article

list insert