## Mixing 2 syllable combinations in place of 1 letter ?

Interested adding compiled externals from LiveCode and third parties to your LiveCode projects? This is the place to talk about them.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

### Mixing 2 syllable combinations in place of 1 letter ?

Hi,
I´m looking for a simple way to make new words using 2 letters combination.
so far I only make a 1 letter mxing.

\$str2 = 'matepa';
\$shuffled1 = str_shuffle(\$str1);
word = \$shuffled1;

So from ("ti","mo","ty)
I´d like to make timoty,motity,tytimo..etc..
and not ttomyi (1 letter mixed.

anyone knows how ?
ANTHKS !!!

FourthWorld
VIP Livecode Opensource Backer
Posts: 8008
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

### Re: Mixing 2 syllable combinations in place of 1 letter ?

What language are you using?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

richmond62
Livecode Opensource Backer
Posts: 4947
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

### Re: Mixing 2 syllable combinations in place of 1 letter ?

Oh, Whacko: factorials . . .

First you'll need to mess around with factorials to work out how many combinations are possible:
The you'll have to get into permutations: viewtopic.php?f=8&t=2629

bogs
Posts: 4790
Joined: Sat Feb 25, 2017 10:45 pm

### Re: Mixing 2 syllable combinations in place of 1 letter ?

FourthWorld wrote:
Mon Dec 18, 2017 9:21 pm
What language are you using?
Looks like some form of basic, but, I really came to say that line is one of my favorites from "The Expendables" where Harrison Ford says "WHAT LANGUAGE IS THAT?!" when Jason Statham was talking

richmond62
Livecode Opensource Backer
Posts: 4947
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

### Re: Mixing 2 syllable combinations in place of 1 letter ?

What language are you using?
Dunno: but not the one these forums are dedicated to.