...

View Full Version : PHP code request



Tariq2011
05-19-2011, 04:15 PM
Can anyone please tell me the code to generate the following permutation in php:
e.g. abcdefghij
-bcdefghij
a-bcdefghij
a-c-efghij
etc..

thank you

Fumigator
05-19-2011, 04:28 PM
Your example doesn't follow a predictable pattern (I suspect it's a typo?) so good luck with that; you can use substr_replace() inside a loop.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum