|
-
Feb 19th, 2013, 01:08 AM
#1
Thread Starter
Lively Member
How to arrange strings like that?
Hello 
It's my 2nd day im working on a function to arrange any string in a certain pattern, and after all my efforts im forwarding this query here.
I want to arrange any string like -
Suppose the string is "google" Now i want to arrange them in a listbox as -
g-oogle
go-ogle
goo-gle
goog-le
googl-e
g-o-o-g-l-e
g-o-gle
and so on [all possible patterns (without any duplicate entry)]..
Note: "-" can be many times but shouldn't be duel like "go--ogle"
I hope you can help me on this 
Thanks
Regards,
Last edited by green.pitch; Feb 19th, 2013 at 01:29 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|