Results 1 to 12 of 12

Thread: How to arrange strings like that?

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2012
    Posts
    106

    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
  •  



Click Here to Expand Forum to Full Width