|
-
Aug 25th, 2000, 02:05 AM
#1
Thread Starter
Addicted Member
Hiyas,
I am loading a text file into a listbox, and the text file may have duplicates of a word, which I don't want I only want one of this word added to the list and the rest ignored sort of thing.
Now I am currently doing this by setting the sorted property to true on the listbox and then looping through the entire list checking one item with the item below it to make sure the text is not the same and if it is, remove that item.
This works fine, but it is toooooo slow a method when dealing with a medium or so size text file, is there any quicker way to do this?.
thanx for any help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|