F
Fred
Hi all,
I am trying to find the most efficient way
to remove duplicate from a string array.
Obviously I can do it by
- iterating through all array values and putting them into a haset keys
- retriving the keys
- putting them back into a new array
but there must be a more direct way.
Any help ...
Fred
I am trying to find the most efficient way
to remove duplicate from a string array.
Obviously I can do it by
- iterating through all array values and putting them into a haset keys
- retriving the keys
- putting them back into a new array
but there must be a more direct way.
Any help ...
Fred