How do you determine that the two lines are duplicates?
Most likely you will want to look substr.
In reply to Re: Duplicate fields by Corion in thread Duplicate fields by crochunter