Soldato
- Joined
- 24 Nov 2002
- Posts
- 16,378
- Location
- 38.744281°N 104.846806°W
I have a set of data like below that contains duplicates.
I'd like to remove all the duplicates - leaving just one "version" of the line...
example data: (not duplicate)
xx_453845.1 1500
xx_453845.1 1500
xy_455456.1 1600
etc...
Surely there is an easy way to do this?
Would idealy like input to be text area and output to be echo, for now.
(aside and unrelated, how do you get php to output tabs.. at the moment it outputs as above: blah_number, how do I get blah_tab_number)
I'd like to remove all the duplicates - leaving just one "version" of the line...
example data: (not duplicate)
xx_453845.1 1500
xx_453845.1 1500
xy_455456.1 1600
etc...
Surely there is an easy way to do this?
Would idealy like input to be text area and output to be echo, for now.
(aside and unrelated, how do you get php to output tabs.. at the moment it outputs as above: blah_number, how do I get blah_tab_number)