Opened 16 years ago

Closed 16 years ago

#752 closed Bug (Fixed)


Reported by: Xenobiologist Owned by: Jpm
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: _ArrayUnique Cc:



#include <Array.au3>
$r = StringSplit('a,u,t,o,i,t, , a, a', ',')
ConsoleWrite(_ArrayToString($r, ' ') & @CRLF)
$r = _ArrayUnique($r)
ConsoleWrite(_ArrayToString($r, ' ') & @CRLF)

Output is:

9 a u t o i t    a  a
8 9 a u t o i    a

There is also a typo in the helpfile : 2x containing
Success: Returns a 1-dimensional array containing containing only the unique elements of that Dimension


Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by Jpm

No bug for me as the StringSplit return a first element which is the number of splitted strings. use new lag=2 in beta to suppress it if you don't like.
I leave it open so Gary cant correct the doc

comment:2 Changed 16 years ago by Jpm

  • Milestone set to
  • Owner changed from Gary to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.