Aldric Giacomoni wrote:
> ar1 = [ 'one', 'two' ]
> ar2 = [ 'three', 'four' ]
> ar3 = [ 'five', 'six' ]
> 
> output:
> 
> one,three,five
> one,three,six
> one,four,five
> one,four,six
> two,three,five
> two,three,six
> two,four,five
> two,four,six
> 
> Is that right?

Indeed it is.

> Are your arrays organized in an array of arrays? Can they be?

You're right - I could easily organise them that way.

The purpose is so that I can find all the unique combinations of 
parameters for different fields in SQL queries for some data I have.
-- 
Posted via http://www.ruby-forum.com/.