I have to remove duplicates from this array.
Are the duplicates allowed in the first place? If not, a HashSet may be a more appropriate data structure. If you insist on using an array, consider an ArrayList collection.
Eugene.
[ March 31, 2003: Message edited by: Eugene Kononov ]