Check to see if a word exists in a string

Cosmos75

Registered User.
Local time
Today, 04:35
Joined
Apr 22, 2002
Messages
1,280
Is there any way to check if a word in a dictionary exists in a alphanumeric string?

Or would I have to create a table that stores all the word in a dictionary and check against that? If so, does anyone know where I can find such a database with such a table already build in?
 
Cosmos,

No takers on this one, huh?

You could populate a table with all the words in the dictionary.
A google search should get you started with "some" data.
You could then iterate through the whole table and use the
InStr function to search for each word.

On a practical note, the search would take a LONG time. And
that's just for each candidate alphanumeric string.

Is this just "chalk talk", or do you have a real app?

Wayne
 
On a practical note, the search would take a LONG time.
Don't forget to index it. :D That should help.
 
WayneRyan said:
Is this just "chalk talk", or do you have a real app?
Someone here had asked for a way to generate ramdom alphanumeric passwords. That part was simple enough.

I've made a generic form to create a password based upon uptions selected by the user (Number, Upper/Lower Case, Length of password). Haven't as of yet tied it to a userID of anykind but that shouldn't be too hard to add.

Right now, I don't have an app that will use it but it was one of those requests that started me thinking and now I just can't get it out of my head to get this to work!! So I guess I would have to answer yes to your question although I can envision the real possiblity that this could come in handy.
:eek:

There's a lot of information on password generating as I've discovered. A lot of things to consider.
- Making sure you don't have a word in a dictionary in the password (e.g. for a 6-character password DogCat would be a bad password). Multi-language dinctionary?!
- Any rules that password must abide by (4 letter and then 4 numbers? or 4 vowels, 4 numbers, then 4 of anything else and so on)
- Whether to include special characters ( ! @ # $ % & )

http://geodsoft.com/howto/password/password_generators.htm
http://asia.cnet.com/itmanager/trends/0,39006409,39068515,00.htm
http://www.softdemon.com/pwd/
http://home.visi.com/support/passwd_good.html
 

Users who are viewing this thread

Back
Top Bottom