If toggle was typed in Then it was recognize it there was 1t, 1o, 2g, 1l, 1e End If
Like that.
txbakers
6:46 pm on Mar 19, 2005 (gmt 0)
look up information on the "charat" functions in javascript.
you could count the chars, then write a loop to increment through the word, storing the results n variables. it would be a pain of a script but it's possible.
cmatcme
12:56 pm on Mar 20, 2005 (gmt 0)
Hmmm.
Very very hard.
Let's put it another way. If I were to type msuic into google it would come up with:
Did you mean music?
How does g do that. Would it be using charat?
txbakers
1:05 am on Mar 21, 2005 (gmt 0)
oh! that would be a MAJOR, MAJOR, MAJOR undertaking. There's a reason google has close to 600 employees.
cmatcme
4:10 pm on Mar 21, 2005 (gmt 0)
Oh OK. I'll forget about it then.
cmatcme
2:42 pm on Mar 22, 2005 (gmt 0)
How would you start about undergoing it? I presume you would store all words in a db.
txbakers
3:12 pm on Mar 22, 2005 (gmt 0)
Yes, all words and all conceivable misspellings.
Sysiphus had an easier job.
Easy_Coder
5:44 pm on Mar 22, 2005 (gmt 0)
then throw probability into the mix and you've got yourself a real barn burner of a problem