![]() |
Visual Basic 2005 Question
Okay,I'm making a bot that responds to your question..
For example.. User : What is your name? Robot : My name is Fred. etc.. But my question is how can I make the question similar.. For example,to make "How Are You" the same as "how are you" etc etc.. I hope you know what i'm talking about! Thanks, Reuben Keeney |
While accepting inputs, choose to convert all the characters into lowercase/uppercase before feeding it to the bot. This can be done by UCase and LCase functions. The user may input in any "case" or "CaSe", but feed your bot only one format.
|
He already solved the problem yesterday, I believe. Note to Reuben: post that next time so people don't waste their time thinking about solved problems. :)
|
Yes sorry bout that!Thanks for your help though java roshan!
|
| All times are GMT -5. The time now is 12:01 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC