I have a list with ten elements, for example:
{x1,x2,x3,x4,x5,x6,x7,x8,x9,x10}
I want to have all the combinations of the 3 elements-list like below:
{{x1,x2,x3},{x1,x2,x4},{x1,x2,x5},.....,{x2,x3,x4},{x2,x3,x5},......}
I cannot find a function to do this.

Subsets[{x1, x2, x3, x4, x5, x6, x7, x8, x9, x10}, {3}]? – kglr Nov 24 '16 at 09:21{x1,x2,x3}and{x2,x1,x3}? If so, then this might helpSelect[Permutations[Array[x, 10], 3], Length[#] == 3 &]– Mauricio Fernández Nov 24 '16 at 09:32