I have an array of string elements like this [A,B,C,D,E,F,G,H,I,J,K,L,M,N,O]
I want to split this into n arrays, where n is chosen randomly, and the elements in each new array are also chosen randomly.
For example if n=4, and the original array is [A,B,C,D,E,F,G,H,I,J,K,L,M,N,O], I might get
[C,E,G,A]
[I,B,O,L]
[H,F,J,N]
[D,K,M]
How can I do this?