This is a discussion on "Unique Array of Arrays" within the Other Programming Languages section. This forum, and the thread "Unique Array of Arrays are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Unique Array of Arrays
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Unique Array of Arrays
Hi all!
I have an array of arrays that i want to make unique. That is, I have: @AoA=(["1","15"], ["2","5"], ["3","4"], ["3","5"], ["3","8"], ["3","5"], ["4","6"], ["4","5"]) and I want to remove array element ["3","5"] which is seen twice if you notice. Is that possible? I am confused with this! |
|
|
|
|||
|
Re: Unique Array of Arrays
Is this Perl? If so, use splice:
|
![]() |
| Tags |
| unique, array, arrays |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| arrays images and backgroundImage | gleb | JavaScript Forum | 0 | Sep 9th, 2007 20:39 |
| Looping through arrays | assgar | Starting Out | 1 | Apr 22nd, 2007 18:43 |
| Sorting a new array from an existing array | Ozeona | Flash & Multimedia Forum | 2 | Sep 20th, 2005 08:43 |
| array unable to check another array so as to be displayed | Ozeona | Flash & Multimedia Forum | 1 | Aug 5th, 2005 10:26 |
| arrays? | macupryk | ASP.NET Forum | 1 | Sep 30th, 2003 12:44 |