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

> 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×