How to remove duplicate entries within a text file?

Can someone help me with out here?

I am trying to remove duplicate entries within a text file. Is this possible with LotusScript? Is so please explain/show me. I am familiar with how to open it and save information to it, but I would like to be able to remove the duplicates.

TIA,

Tim B.

Subject: How to remove duplicate entries within a text file???

Tim,

are you are processing the text file, look into an array via arrayGetIndex to see if you have the entry already. Note: the most you can store is about 65,000 unique entries.

John

ps if the numbe ris small, you could build a notesitem to hold about 1000 and then use .contains() to see if you had the text value already

john

Subject: RE: How to remove duplicate entries within a text file???

It would be more efficient to use a List datatype here, and this would also support a greater number of elements.