Get possible combination of data

Hello there,

 

If i wanna have result of possible combination like data as below, are Board can handled it dynamically base on number of Data?

 

Data

A

B

C

...

 

Output

AB

AC

BC

...

 

Many thanks & Regards

Answers