![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Mar 2006
Posts: 36
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
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.
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
#3 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
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.
![]() |
|
|
|
|
|
#4 |
|
Programmer
Join Date: Mar 2006
Posts: 36
Rep Power: 0
![]() |
Yes sorry bout that!Thanks for your help though java roshan!
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|