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 !!!
Mixing 2 syllable combinations in place of 1 letter ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9847
- 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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 9440
- 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
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
Re: Mixing 2 syllable combinations in place of 1 letter ?
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
-
- Livecode Opensource Backer
- Posts: 9440
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Mixing 2 syllable combinations in place of 1 letter ?
Dunno: but not the one these forums are dedicated to.What language are you using?