rand(1,N) but excluding array(a,b,c,..),
is there already a built-in function that I don\'t know or do I have to implement it myself(how?)
I don't think there's such a function built-in ; you'll probably have to code it yourself.
To code this, you have two solutions :