Here's what I need to do -- and am not quite sure where to beginning. I have an array of several items. I might pullout a single item in that array with something like this inside of a loop:
#session.cart[ThisOrder].ITEM_ID# This might wind up being : Item ID: 567 That's fine. But if the user accidently reselects that very same item, I might want up with: Item ID: 567 Item ID: 567 I don't want that. I want to delete that second duplicate item in the array and then resize the array. But how do I find duplicates? Or better yet, what I want to do is say: "If this item already exists in the array, do not add this new item into the array" So I have to be able to quickly search through the entire array and find the duplicate. But there doesn't seem to be an ArrayFind() function. So how would you approach this problem? H. Howard Owens Internet Operations Coordinator www.insidevc.com [EMAIL PROTECTED] AIM: GoCatGo1956 ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

