forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Remove Dups by column

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 04, 2005 5:23 am    Post subject: Remove Dups by column Reply with quote

I am pulling my hair out on this one.

I have 2 lists that have items that are tab seperated and I want to remove duplicates based on a column. So If i have items that are that have the same item in column 3 remove one of the items.

example:
This would be a list

1@tab()2@tab()3
2@tab()3@tab()2
3@tab()4@tab()3

look for any duplicate items based on column 3 and remove all but one.

then the list would be

1@tab()2@tab()3
2@tab()3@tab()2

thanks!

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 04, 2005 6:07 am    Post subject: Reply with quote

I got it.. ! Smile Thanks anyway.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed May 04, 2005 7:59 am    Post subject: Reply with quote

Chris, maybe you can post the routine you used, so others can learn from it? Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed May 04, 2005 2:10 pm    Post subject: Reply with quote

I might be able to do that. It is just Mac's remove Dups code and I just used my NTH.dsu (you can find it on VDSWorld) to get the column to compair. I'll try to post it tonight. Smile
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group