Text Twist Puzzle Solver

Gives the solution of a Text Twist Puzzle
2.2K Downloads
Updated 2 Jul 2009

View License

This code takes an input string (usually six letters) and displays all meaningful words (according to Microsoft Word dictionary) that can be formed from them. All combinations from three letters up to the full length of the input string are spell-checked to figure out meaningful words.

Example:

>> tt sttaes

Solution:
states
tastes
asset
sates
seats
state
stats
stets
taste
teats
tests
asst
east
eats
etas
sate
seas
seat
seta
sets
sett
stat
stet
tats
teas
teat
test
ass
ate
eat
eta
sat
sea
set
tae
tat
tea

Cite As

Khaled Hamed (2024). Text Twist Puzzle Solver (https://www.mathworks.com/matlabcentral/fileexchange/24622-text-twist-puzzle-solver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Word games in Help Center and MATLAB Answers
Acknowledgements

Inspired by: spellcheck

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Corrected error in Tags

1.0.0.0