Hi,
vielen Dank für Deine Antwort!
Alle Worte im Array sind im ausgangswort = 'hotelfachfrau' enthalten. Der Key des Arrays entspricht der Position der Fundstelle im Ausgangswort.
Ich bin jetzt soweit das ich die Permutation fertig habe ;o)
Array
(
[0] => Array
(
[0] => hotel
[2] => tel
[3] => elf
[5] => fach
[6] => ach
[7] => chf
[9] => frau
[10] => rau
)
[1] => Array
(
[0] => hotel
[2] => tel
[3] => elf
[5] => fach
[6] => ach
[7] => chf
[9] => fra
[10] => rau
)
[2] => Array
(
[0] => hotel
[2] => tel
[3] => elf
[5] => fachfrau
[6] => ach
[7] => chf
[9] => frau
[10] => rau
)
[3] => Array
(
[0] => hotel
[2] => tel
[3] => elf
[5] => fachfrau
[6] => ach
[7] => chf
[9] => fra
[10] => rau
)
[4] => Array
(
[0] => hotel
[2] => tel
[3] => elf
[5] => fac
[6] => ach
[7] => chf
[9] => frau
[10] => rau
)
[5] => Array
(
[0] => hotel
[2] => tel
[3] => elf
[5] => fac
[6] => ach
[7] => chf
[9] => fra
[10] => rau
)
[6] => Array
(
[0] => hotelfach
[2] => tel
[3] => elf
[5] => fach
[6] => ach
[7] => chf
[9] => frau
[10] => rau
)
[7] => Array
(
[0] => hotelfach
[2] => tel
[3] => elf
[5] => fach
[6] => ach
[7] => chf
[9] => fra
[10] => rau
)
[8] => Array
(
[0] => hotelfach
[2] => tel
[3] => elf
[5] => fachfrau
[6] => ach
[7] => chf
[9] => frau
[10] => rau
)
usw.
Danke nochmal