Question:
I need to do some processing on CkStringArrays from a mailman.GetUidls...
My GetUidls stores them in saUIDLall
I also build a manual CkStringArray from a SQLite Database and call it saUIDLdb.
I needed to know which elements are in saUIDLall that are NOT in saUIDLdb. I was going to use
saUIDLall.substract(saUIDLdb)
to get the remaining left in saUIDLall (if understand substract correctly).
But before I do this, I don't want to "lose" what is in saUIDLall completely (for future processing). I thought I would "copy" saUIDLall to a temporary string array. I tried
saUIDLtmp=saUIDLall
that seemed to work (according to get_Count()) but after processing the saUIDLdb, the saUIDLtmp had the same # of records instead of the original count.
Is there a way to do this?
Thanks
Pete
There might be a better way, but I think you could call the Serialize method on your source CKStringArray, then create a new CKStringArray and call AppendSerialized on it with the serialized source result.