Modify

Opened 17 years ago

Closed 17 years ago

#752 closed Bug (Fixed)

_ArrayUnique

Reported by: Xenobiologist Owned by: J-Paul Mesnage
Milestone: 3.2.13.14 Component: Standard UDFs
Version: 3.2.13.13 Severity: None
Keywords: _ArrayUnique Cc:

Description

Hi,

#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

Mega

Attachments (0)

Change History (2)

comment:1 by J-Paul Mesnage, 17 years ago

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 by J-Paul Mesnage, 17 years ago

Milestone: 3.2.13.14
Owner: changed from Gary to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.13.14

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.