Subtracting string arrays

B

Brian Scott

Hello,

I am having am issue subtracting two arrays with string elements.

I have the following?

a = ["StringA", "StringB", "StringC"]

b = ["StringC"]

How to I subtract the two arrays so I have a new array with the
following?

result = ["StringA", "StringB"]



Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top