Combinations

  • Thread starter Thread starter Mattxcore77
  • Start date Start date
M

Mattxcore77

I know this is probably posted somewhere, but I couldn't find the answer. Any
help is warmly appreciated:

I need code for combining strings stored in three different arrays:

1st array - "A"
2nd array - "BCD"
3rd array - "ABD"

The number of characters in each array can change from 1-3.

I want to store the 9 combinations in a new array (for this example):

ABA
ABB
ABD
ACA
ACB
ACD
ADA
ADB
ADC


Thanks in advance!!
 

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

Back
Top