Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fairly simply Text manipulation question...

Status
Not open for further replies.

docmeizie

Programmer
Aug 5, 2003
326
0
0
US
Okay what I need to do is take a text box string and be able to rearrange the letters so that I can check it versus a data file that I have created with all the known words in the English dialect. So basically it would a string like "are" and come up with all the permutations of those three letters like so:

ae
ar
ea
er
ra
re
are
aer
rea
rae
ear
era

Would any one have some basic code/guidelines that I can use? Thank you in advance.



If I take a peek in your Windows, to fix a problem, does that make me a "Peeping Tom"? Hmmmmmmmmmmv [pc1][shocked]
 
I don't have any code yet, but these commands may help if you don't already know them

Len(String) 'length of a string

Mid$(String, Start, Length) 'Returns a certain part of a string

StrComp(String1, String2) 'Compares 2 strings
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top