Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Coding, syntax & commands
>>Any simple way to remove duplicates in a one dimensional array? No specific order to the rows and the elements are text. I'm thinking of looping through, and comparing elements, but the no-order thing has got me paused... Thanks!
>>
>>Regards, Renoir
>
>Another...
>
>Of course you can ASORT() the array, iterate through it comparing each member to previous. As you go through the array, each new (non-duplicate member) into a new array.
Now we're getting somewhere... Wonder if I could just leave the original and delete matching elements out of the array as I scan through? Hmmm... Testing time!
Renoir
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only