You should definetly consider making sure that your values are unique BEFORE you put them into the array. If this is not possible, an alternative is to create a new array and only transfer the unique values - if the array is not too big.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.