netchicken
netchicken

Reputation: 485

Find all variations of letters in a word in Vb.net

In a program used to find words from random scrabble letters how do you loop through each of the possible combinations of letters? ie: abc acb bac bca cab cba

Upvotes: 0

Views: 654

Answers (1)

Jon Egerton
Jon Egerton

Reputation: 41569

What you're trying to do here is permute the set of characters contained within the string.

There's a question here about it:

Find string permutation including the single character using C# or F#

Upvotes: 1

Related Questions