Modify ↓
Opened 16 years ago
Closed 16 years ago
#752 closed Bug (Fixed)
_ArrayUnique
Reported by: | Xenobiologist | Owned by: | Jpm |
---|---|---|---|
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 Changed 16 years ago by Jpm
comment:2 Changed 16 years ago by Jpm
- Milestone set to 3.2.13.14
- Owner changed from Gary to Jpm
- Resolution set to Fixed
- Status changed from new to closed
Fixed in version: 3.2.13.14
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.
Note: See
TracTickets for help on using
tickets.
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