Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 3rd, 2006, 3:23 PM   #1
ReubenK
Programmer
 
ReubenK's Avatar
 
Join Date: Mar 2006
Posts: 36
Rep Power: 0 ReubenK is on a distinguished road
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
ReubenK is offline   Reply With Quote
Old Apr 3rd, 2006, 10:57 PM   #2
java_roshan
Professional Programmer
 
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4 java_roshan is on a distinguished road
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
java_roshan is offline   Reply With Quote
Old Apr 4th, 2006, 7:04 AM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 5th, 2006, 4:23 PM   #4
ReubenK
Programmer
 
ReubenK's Avatar
 
Join Date: Mar 2006
Posts: 36
Rep Power: 0 ReubenK is on a distinguished road
Yes sorry bout that!Thanks for your help though java roshan!
ReubenK is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC