How to remove duplicates from an array?
问题 I am trying to remove duplicate values from an array. I came across this solution: http://www.livio.net/main/asp_functions.asp?id=RemDups%20Function It works fine if I hard code an array, via e.g. theArray = Array("me@me.com","sid@sid.com","bob@bob.com","other@test.com","other@test.com","other@test.com") The duplicates are removed via the test steps shown on the livio.net page: '--- show array before modifications response.write "before:<HR>" & showArray (theArray) '---- remove duplicate