Take a look at the <@DISTINCT> tag which can be used to return the rows of any array that are unique. By playing around with comparisons between the original array and an array created by using the <@DISTINCT> tag, you should be able to do what you've requested. You might want to (or have to) store the repeat count as a separate variable or separate field in the array.
Hope this helps, Steve Smith Skadt Information Solutions Office: (519) 624-4388 GTA: (416) 606-3885 Fax: (519) 624-3353 Cell: (416) 606-3885 Email: [EMAIL PROTECTED] Web: http://www.skadt.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aseem Mal Sent: July 30, 2002 3:10 PM To: Multiple recipients of list witango-talk Subject: Witango-Talk: Duplicate items in Array Hi, Is there a way I can check if there is duplicate item in a array. And if it is duplicate then count how many times it is being repeated. And then append that to the row so that the last item in the row shows its "repeat count". Thanks. Aseem Mal. ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
