Sorry for my funny question. I would like to separate this "abcd" into -
a, b, c, d
ab, ac, ad, bc, bd, cd,
abc, abd, acd, bdc
abcd
How to call/define in math? Theory or formula or law?
Let'say, to calculate the area of a right triangle is used pythagorean theorem.
update
I have to write a program. Eg, Input is "abcd". Output will be like as below.
a, b, c, d
ab, ac, ad, bc, bd, cd,
abc, abd, acd, bdc
abcd
For fasted way, which theory or formula will I have to use?
If we interpret $abcd$ as a sequence, the following terms make sense:
The result of your process is "all subsequences of the sequence $abcd$".
Hence, the process could be called "building all subsequences of the sequence $abcd$".
In generel, for a sequence of symbols $s_1s_2 \cdots s_n$, the subsequences are $$ \{ s_{i_1}s_{i_2}\cdots s_{i_k} \mid k \leq n \text{ and } 1 \leq i_1 < i_2 < \cdots < i_k \leq n\} $$