login about faq

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


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


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?



asked Nov 11 '15 at 21:36

pbrama's gravatar image


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.


answered Nov 12 '15 at 09:38

jpbro's gravatar image

jpbro ♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Nov 11 '15 at 21:36

Seen: 1,227 times

Last updated: Nov 12 '15 at 09:38

powered by OSQA