Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
hessam

vb script rearrange words in sequence

Recommended Posts

hi

need an script to re arrange word in maximum possible way and give them in output in text file with any number word i give in vb script

 

example this is max sequence of this 3 word "Command utility text" i want put them in vb script and its generate all possible combined order

Command utility text

Command text utility

utility Command text

utility text Command

text utility Command

text Command utility

 

thanks so much

 

 

 

Share this post


Link to post
Share on other sites

You will need to define *any*.

Any *like* 2-10, 2-100, 2-1000, 2-100000, etc.

jaclaz

 

Share this post


Link to post
Share on other sites
Posted (edited)

> all possible combined order
all possible permutations

There is only one word combination (the input), but n! word permutations (if no repeated words). "Any" should probably be limited to 1..6 unique words.

Edited by jumper
fixed bolding issue

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...