Sijo
Sijo

Reputation: 619

How to copy a part of CStringArray to another CStringArray

I want to copy a part of CStringArray to another CStringArray. for eq. copy is to be done from CStringArrayA[5] to CStringArrayA[9] to CStringArrayB (5 elements of CStringArrayA to CStringArrayB).

Please help.

Upvotes: 1

Views: 524

Answers (1)

Ivaylo Strandjev
Ivaylo Strandjev

Reputation: 71009

Looking at the interface of CStringArray it seems you don't have a significantly better option that just calling Add for each element in the specified range.

Upvotes: 3

Related Questions