MASTER LIBRARY? how did I miss that....thanks for posting it :) On Wed, Mar 22, 2017 at 12:25 PM, Dr. Hawkins via use-livecode < use-livecode@lists.runrev.com> wrote:
> On Wed, Mar 22, 2017 at 4:41 AM, Skip Kimpel via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > I have a bunch of data records that contain email addresses. I need to > > search through that list and produce an list so those duplicates can be > > acted upon. > > > > repeat for each line theLin in theList > > add 1 to theVals[theLin] > > if theVals[theLin] > 1 then > > put theVals[theLin] into theDups[theLin] > > end if > > end repeat > > > theDups has duplicated addresses as it's keys, and the number of dups as > the values > > Or, you could extend and parse the actual email address out of each line, > and use *that* as the key, to catch situations like > > j...@doe.com > > <j...@doe.com> "John Doe" > <j...@doe.com> "Johnathan Doe" > > In that case, I'd probably put > > put theLin into theDups[theEmail][theVals[theEmail]] > > so that you get a list for each type > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Tom Glod* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode